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`does not report when all statements are not 'it'-started expressions`() {
val code =""" fun test(foo: Foo) { foo.also { it.bar() println(it) it.baz() } } class Foo { fun bar() {} fun baz() {} }""".trimIndent()
assertThat(subject.compileAndLint(code)).isEmpty()
}
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: