-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 1 new fix test * first corrected code ### Issue (#811)
- Loading branch information
Arrgentum
committed
Jun 6, 2022
1 parent
9423868
commit 2b0a521
Showing
4 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
diktat-rules/src/test/resources/test/paragraph3/indentation/MultilionStringExpected.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package test.paragraph3.indentation | ||
|
||
fun checkScript() { | ||
lintMethod( | ||
""" | ||
|val q = 1 | ||
| | ||
""".trimMargin(), | ||
fileName = "src/main/kotlin/org/cqfn/diktat/Example.kts" | ||
) | ||
} | ||
|
||
fun lintMethod(trimMargin: String, fileName: String) { | ||
TODO("Not yet implemented") | ||
} |
15 changes: 15 additions & 0 deletions
15
diktat-rules/src/test/resources/test/paragraph3/indentation/MultilionStringTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package test.paragraph3.indentation | ||
|
||
fun checkScript() { | ||
lintMethod( | ||
""" | ||
|val q = 1 | ||
| | ||
""".trimMargin(), | ||
fileName = "src/main/kotlin/org/cqfn/diktat/Example.kts" | ||
) | ||
} | ||
|
||
fun lintMethod(trimMargin: String, fileName: String) { | ||
TODO("Not yet implemented") | ||
} |