@Test
fun `first() handles empty lists`() {
val subject = emptyList<String>()
expectThat(subject).first().isEqualTo("catflap")
}
Fails with the message:
Mapping 'first element %s' failed with: List is empty.
Mapping 'first element %s' failed with: List is empty.
at app//strikt.internal.AssertionBuilder.get(AssertionBuilder.kt:108)
Wonder if it is possible to show the expected - it can be hard to know which assertion failed if there is more than one 'first()' in a test.