From 32d6cabe81ee3982096e69cb3e002cd637988b13 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Thu, 19 Jan 2023 07:44:26 +0100 Subject: [PATCH] Resolve ambiguity --- .../errorprone/refasterrules/TestNGToAssertJRulesTestInput.java | 2 +- .../refasterrules/TestNGToAssertJRulesTestOutput.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestInput.java b/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestInput.java index 91e7999b5f9..465c3de6d2e 100644 --- a/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestInput.java +++ b/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestInput.java @@ -24,7 +24,7 @@ final class TestNGToAssertJRulesTest implements RefasterRuleCollectionTestCase { public ImmutableSet elidedTypesAndStaticImports() { return ImmutableSet.of( (Runnable) () -> assertEquals(new byte[0], null), - (Runnable) () -> assertEqualsNoOrder(null, null), + (Runnable) () -> assertEqualsNoOrder((Object[]) null, null), (Runnable) () -> assertFalse(true), (Runnable) () -> assertNotEquals(new byte[0], null), (Runnable) () -> assertNotNull(null), diff --git a/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestOutput.java b/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestOutput.java index ba9ad9a4097..e2088c4d4cf 100644 --- a/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestOutput.java +++ b/error-prone-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/TestNGToAssertJRulesTestOutput.java @@ -29,7 +29,7 @@ final class TestNGToAssertJRulesTest implements RefasterRuleCollectionTestCase { public ImmutableSet elidedTypesAndStaticImports() { return ImmutableSet.of( (Runnable) () -> assertEquals(new byte[0], null), - (Runnable) () -> assertEqualsNoOrder(null, null), + (Runnable) () -> assertEqualsNoOrder((Object[]) null, null), (Runnable) () -> assertFalse(true), (Runnable) () -> assertNotEquals(new byte[0], null), (Runnable) () -> assertNotNull(null),