Skip to content

Commit

Permalink
Fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
drawers committed Feb 25, 2023
1 parent 7212563 commit c6c00e6
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,6 @@ class ConstructorParameterNamingSpec {
assertThat(ConstructorParameterNaming().compileAndLint(code)).isEmpty()
}

@Test
fun `should not complain about override when ignore overridden = false`() {
val code = """
class C(override val PARAM: String) : I
interface I { val PARAM: String }
""".trimIndent()
val config = TestConfig(IGNORE_OVERRIDDEN to "false")
assertThat(ConstructorParameterNaming(config).compileAndLint(code)).hasTextLocations(8 to 34)
}

@Nested
inner class `with backticks` {
@Test
Expand Down

0 comments on commit c6c00e6

Please sign in to comment.