From the docs
Chained assertions inside a block will still fail fast but will not prevent other assertions in the block from being evaluated.
val subject = 1L
expectThat(subject) {
isLessThan(1L).isA<Int>()
isGreaterThan(1L)
}
Produces the output:
▼ Expect that 1:
✗ is less than 1
✗ is an instance of java.lang.Integer : found java.lang.Long
✗ is greater than 1
Should the instance output line be there?