gavvvr
03/04/2024, 6:15 PMshouldBeSortedBy
transformation is (T) -> E
(without null
support)?
The sortedBy
function from Kotlin stdlib perfectly accepts transformation to potentially null values ((T) -> R?
), where nulls will be treated as "less than any value". I would expected KoTest's shouldBeSortedBy
to behave the same way