Skip to content

Commit

Permalink
Fix compilation issue in :detekt-rules-style:compileTestKotlin (#3691)
Browse files Browse the repository at this point in the history
  • Loading branch information
chao2zhang committed Apr 21, 2021
1 parent da8676d commit 9babc59
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ class UnusedPrivateMemberSpec : Spek({
println(o("$\{PC.Companion.OO.BLA.toString() + ""}"))
}
""".trimIndent()
assertThat(subject.lint(code)).hasSize(0)
}

it("reports unused local properties") {
Expand Down

0 comments on commit 9babc59

Please sign in to comment.