This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 1fa4dae1e Add missing test assertion
1fa4dae1e is described below
commit 1fa4dae1e67c86dcaeb24364143ae8b2ceccc65f
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jan 15 07:05:36 2026 -0500
Add missing test assertion
---
src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
b/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
index a6ff321b9..18dc5f377 100644
--- a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
@@ -6962,5 +6962,6 @@ void testToStringDefault() {
@Test
void testMaxArrayLength() {
assertEquals(Integer.MAX_VALUE - 8, ArrayUtils.SAFE_MAX_ARRAY_LENGTH);
+ assertEquals(Integer.MAX_VALUE - 8, ArrayUtils.SOFT_MAX_ARRAY_LENGTH);
}
}