Skip to content

v0.20

Compare
Choose a tag to compare
@evant evant released this 30 Jul 15:27
· 240 commits to main since this release
2b664da

Added

  • Add corresponds/doesNotCorrespond to compare values with a correspondence function. This is
    useful when the value doesn't implement equals.

Changed

  • Changed the signature of isEqualTo from Any? to T. This should not effect any existing code
    due to T being covariant. The one improvement this brings is that literal numbers can be inferred
    to the correct type. Before this change assertThat(1L).isEqualTo(1) would fail, now it passes.

Fixed

  • Fixed isSuccess failing on null return values