You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And as a general rule, it's unfortunate for us to NPE for an unexpectedly null part of the value under test. (Contrast to throwing NPE on an assertion like containsExactlyElementsIn(null). There, NPE makes sense.)
We added this way back in the original
hasCauseThat()
implementation in CL 143231718:truth/core/src/main/java/com/google/common/truth/ThrowableSubject.java
Lines 71 to 75 in 29f6df4
I don't remember ever discussing whether to do it for
hasMessageThat()
, too, but the case seems pretty good there, too?The text was updated successfully, but these errors were encountered: