Skip to content

Commit 4be6fbd

Browse files
java-team-github-botGoogle Java Core Libraries
authored and
Google Java Core Libraries
committed
Automated Code Change
PiperOrigin-RevId: 736853569
1 parent 4b0fbc0 commit 4be6fbd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/src/test/java/com/google/common/truth/NumericComparisonTest.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
* @author Kurt Alfred Kluever
3333
*/
3434
@RunWith(JUnit4.class)
35+
@SuppressWarnings("SelfAssertion")
3536
public class NumericComparisonTest {
3637

37-
@SuppressWarnings("TruthSelfEquals")
3838
@Test
3939
public void testPrimitivesVsBoxedPrimitivesVsObject_int() {
4040
int int42 = 42;
@@ -54,7 +54,6 @@ public void testPrimitivesVsBoxedPrimitivesVsObject_int() {
5454
assertThat(object42).isEqualTo(object42);
5555
}
5656

57-
@SuppressWarnings("TruthSelfEquals")
5857
@Test
5958
public void testPrimitivesVsBoxedPrimitivesVsObject_long() {
6059
long longPrim42 = 42;
@@ -75,7 +74,6 @@ public void testPrimitivesVsBoxedPrimitivesVsObject_long() {
7574
}
7675

7776
@Test
78-
@SuppressWarnings("TruthSelfEquals")
7977
public void testAllCombinations_pass() {
8078
assertThat(42).isEqualTo(42L);
8179
assertThat(42).isEqualTo(Long.valueOf(42L));

0 commit comments

Comments
 (0)