Skip to content

Commit

Permalink
Suppress violations of TruthIncompatibleType.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 331353130
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Sep 12, 2020
1 parent e71b57b commit 2f80e3e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ public String toString() {
}
};

@SuppressWarnings("TruthIncompatibleType") // Intentional for testing purposes.
@Test
public void toStringsAreIdentical() {
IntWrapper wrapper = new IntWrapper();
Expand Down

0 comments on commit 2f80e3e

Please sign in to comment.