From a5b5f4397420d6f72f9a876315670dfb3663ed38 Mon Sep 17 00:00:00 2001 From: Picnic-Bot Date: Tue, 24 Jan 2023 09:45:13 +0100 Subject: [PATCH] Upgrade TestNG 7.4.0 -> 7.7.1 (#469) See: - https://github.com/cbeust/testng/blob/master/CHANGES.txt - https://github.com/cbeust/testng/releases/tag/7.6.0 - https://github.com/cbeust/testng/releases/tag/7.6.1 - https://github.com/cbeust/testng/releases/tag/7.7.0 - https://github.com/cbeust/testng/releases/tag/7.7.1 - https://github.com/cbeust/testng/compare/7.4.0...7.7.1 --- .../errorprone/refasterrules/TestNGToAssertJRulesTestInput.java | 2 +- .../refasterrules/TestNGToAssertJRulesTestOutput.java | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 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 91e7999b5f..465c3de6d2 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 ba9ad9a409..e2088c4d4c 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), diff --git a/pom.xml b/pom.xml index 6143e1d6ce..2f8e63d3eb 100644 --- a/pom.xml +++ b/pom.xml @@ -396,7 +396,7 @@ org.testng testng - 7.4.0 + 7.7.1