aboutsummaryrefslogtreecommitdiff
path: root/ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/CommentSpacingRuleTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/CommentSpacingRuleTest.kt')
-rw-r--r--ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/CommentSpacingRuleTest.kt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/CommentSpacingRuleTest.kt b/ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/CommentSpacingRuleTest.kt
index 7adaf56d..78e59939 100644
--- a/ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/CommentSpacingRuleTest.kt
+++ b/ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/CommentSpacingRuleTest.kt
@@ -31,12 +31,12 @@ class CommentSpacingRuleTest {
//comment
""".trimIndent()
)).isEqualTo(listOf(
- LintError(1, 1, "comment-spacing", "Missing space after double slash in end of line comment"),
- LintError(2, 22, "comment-spacing", "Missing space before end of line comment"),
- LintError(3, 23, "comment-spacing", "Missing space after double slash in end of line comment"),
- LintError(4, 22, "comment-spacing", "Missing space before end of line comment"),
- LintError(4, 22, "comment-spacing", "Missing space after double slash in end of line comment"),
- LintError(5, 5, "comment-spacing", "Missing space after double slash in end of line comment")
+ LintError(1, 1, "comment-spacing", "Missing space after //"),
+ LintError(2, 22, "comment-spacing", "Missing space before //"),
+ LintError(3, 23, "comment-spacing", "Missing space after //"),
+ LintError(4, 22, "comment-spacing", "Missing space before //"),
+ LintError(4, 22, "comment-spacing", "Missing space after //"),
+ LintError(5, 5, "comment-spacing", "Missing space after //")
))
}