Created
March 11, 2019 22:14
-
-
Save mchmielarz/bf990f169345341d17edc0b6872dbf7b to your computer and use it in GitHub Desktop.
Examples of fixed NPE in assertions from assertj-vavr v0.1.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| assertThat(Option.some(null)).contains(null); | |
| assertThat(Try.success(null)).contains(null); | |
| assertThat(Either.right(null)).containsOnRight(null); | |
| assertThat(Either.left(null)).containsOnLeft(null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment