This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit acfa8b01f3335d8d71e48d5e3a7b6f32a3b114e3 Author: Gary Gregory <[email protected]> AuthorDate: Mon Oct 19 18:45:51 2026 -0400 Remove extra layer of assertAll() --- .../java/org/apache/commons/lang3/reflect/TypeUtilsTest.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java b/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java index f145a0fab..4cef509d9 100644 --- a/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java @@ -18,7 +18,6 @@ import static org.apache.commons.lang3.LangAssertions.assertIllegalArgumentException; import static org.apache.commons.lang3.LangAssertions.assertNullPointerException; -import static org.junit.jupiter.api.Assertions.assertAll; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -1274,12 +1273,11 @@ void testHashCodeMatchesJdk(final String fieldName, final Type built) throws NoS jdkSet.add(jdk); final Set<Type> builtSet = new HashSet<>(); builtSet.add(built); - assertAll( - () -> assertEquals(jdk.hashCode(), built.hashCode()), - () -> assertEquals("value", jdkMap.get(built)), - () -> assertEquals("value", builtMap.get(jdk)), - () -> assertTrue(jdkSet.contains(built)), - () -> assertTrue(builtSet.contains(jdk))); + assertEquals(jdk.hashCode(), built.hashCode()); + assertEquals("value", jdkMap.get(built)); + assertEquals("value", builtMap.get(jdk)); + assertTrue(jdkSet.contains(built)); + assertTrue(builtSet.contains(jdk)); } @Test
