You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/09/01 17:13:46 UTC

(commons-lang) branch master updated: Add assertions to org.apache.commons.lang3.ClassUtilsTest

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 7b3c1cc62 Add assertions to org.apache.commons.lang3.ClassUtilsTest
7b3c1cc62 is described below

commit 7b3c1cc627bb62a40499c9d50519c4b2616ae1b5
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Mon Sep 1 13:13:39 2025 -0400

    Add assertions to
    org.apache.commons.lang3.ClassUtilsTest
---
 src/test/java/org/apache/commons/lang3/ClassUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java b/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java
index 1d82ef35d..1f7bdd8e7 100644
--- a/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java
@@ -569,7 +569,7 @@ void test_getShortCanonicalName_String() {
         assertEquals("int[][]", ClassUtils.getShortCanonicalName("[[I"));
         assertEquals("int[]", ClassUtils.getShortCanonicalName("int[]"));
         assertEquals("int[][]", ClassUtils.getShortCanonicalName("int[][]"));
-        assertEquals("int[][][][][][][][][][]", ClassUtils.getShortCanonicalName("int[][][][][][][][][][][][]"));
+        assertEquals("int[][][][][][][][][][][][]", ClassUtils.getShortCanonicalName("int[][][][][][][][][][][][]"));
         // this is to demonstrate that the documentation and the naming of the methods
         // uses the class name and canonical name totally mixed up, which cannot be
         // fixed without backward compatibility break