diff --git a/core/src/main/java/com/google/common/truth/Subject.java b/core/src/main/java/com/google/common/truth/Subject.java index 86f9922bc..1290d4055 100644 --- a/core/src/main/java/com/google/common/truth/Subject.java +++ b/core/src/main/java/com/google/common/truth/Subject.java @@ -123,19 +123,19 @@ protected Subject(FailureMetadata metadata, @Nullable Object actual) { this.typeDescriptionOverride = typeDescriptionOverride; } - /** Fails if the subject is not null. */ + /** Checks that the value under test is null. */ public void isNull() { standardIsEqualTo(null); } - /** Fails if the subject is null. */ + /** Checks that the value under test is not null. */ public void isNotNull() { standardIsNotEqualTo(null); } /** - * Fails if the subject is not equal to the given object. For the purposes of this comparison, two - * objects are equal if any of the following is true: + * Checks that the value under test is equal to the given object. For the purposes of this + * comparison, two objects are equal if any of the following is true: * *