Skip to content

Commit 28ec99c

Browse files
authored
No need for extra message in this case
1 parent 3e27589 commit 28ec99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ void testMaxDouble_emptyArray() {
12201220

12211221
@Test
12221222
void testMaxDouble_nullArray() {
1223-
assertNullPointerException(() -> NumberUtils.max((double[]) null), "No exception was thrown for null input.");
1223+
assertNullPointerException(() -> NumberUtils.max((double[]) null));
12241224
}
12251225

12261226
@Test

0 commit comments

Comments
 (0)