Step 'ktlint' found problem in 'src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/koclass/KoClassDeclarationForKoParentClassProviderTest.kt':
Error on line: 124, column: 28
rule: standard:no-consecutive-comments
an EOL comment may not be preceded by a block comment unless separated by a blank line
java.lang.AssertionError: Error on line: 124, column: 28
rule: standard:no-consecutive-comments
an EOL comment may not be preceded by a block comment unless separated by a blank line
Steps to Reproduce
@Test
fun `object-has-parent-class-with-duplicated-name`() {
/*
Some comment
*/
// given
val a = 2
}
Expected Behavior
Black line is there so rule should pass
Observed Behavior
Steps to Reproduce
Your Environment
1.2.1
com.diffplug.spotless:6.25.0
8.6