Colton Idle
when (val foo = something) { is One -> fail() <===== I just want to fail if foo is of type One is Two -> assertThat(bar).isNotEmpty() null -> TODO() }
thanksforallthefish
Truth.assert_().fail()
import com.google.common.truth.Truth Truth.assert_().withMessage("something something").fail()
Klitos Kyriacou
A modern programming language that makes developers happier.