thanksforallthefish
08/27/2025, 8:51 AMnull shouldBe true
would anyway fail, so it should be possible to return non nullable.
the "issue" with returning nullable is that something like true.shouldBeTrue().toArray()
does not compile anymore, it has to be true.shouldBeTrue()?.toArray()
with all the chaining issue (I should mention toArray
is a custom extension function expecting a non-nullable receiver)