Closed dborowitz closed 8 years ago
This test:
Boolean b = null; assertThat(b).isFalse();
results in "The subject was expected to be false, but was true". No it's not; it's null.
Similarly, this test:
Boolean b = null; assertThat(b).isTrue();
results in "The subject was expected to be true, but was false".
I think you meant to file this on https://github.com/google/truth/
So sorry! Chrome addressbar autocomplete fail.
This test:
results in "The subject was expected to be false, but was true". No it's not; it's null.
Similarly, this test:
results in "The subject was expected to be true, but was false".