You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Test
fun`Don't raise issues with pair creation`() {
val code =""" fun foo() { 1 to 1 }""".trimIndent()
val findings =UnnecessaryPartOfBinaryExpression().compileAndLint(code)
assertThat(findings).hasSize(0)
}
Your Environment
Version of detekt used: 1.22.0-RC3
The text was updated successfully, but these errors were encountered:
I created a test to demostrate the bug:
Your Environment
The text was updated successfully, but these errors were encountered: