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


The following commit(s) were added to refs/heads/master by this push:
     new ffa30115b Sort members
ffa30115b is described below

commit ffa30115b6eac3137d3080078178fff505215c58
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jun 23 10:45:08 2026 +0000

    Sort members
---
 .../apache/commons/lang3/StringUtilsIsTest.java    | 46 +++++++++++-----------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java 
b/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java
index e0e496181..8809d25a7 100644
--- a/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java
+++ b/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java
@@ -41,14 +41,6 @@ void testIsAlpha() {
         assertFalse(StringUtils.isAlpha("hkHKHik*khbkuh"));
     }
 
-    @Test
-    void testIsAlphaSupplementary() {
-        // U+10400 DESERET CAPITAL LETTER LONG I is a supplementary Unicode 
letter
-        assertTrue(StringUtils.isAlpha(new 
String(Character.toChars(0x10400))));
-        // U+1D7CE MATHEMATICAL BOLD DIGIT ZERO is a supplementary digit, not 
a letter
-        assertFalse(StringUtils.isAlpha(new 
String(Character.toChars(0x1D7CE))));
-    }
-
     @Test
     void testIsAlphanumeric() {
         assertFalse(StringUtils.isAlphanumeric(null));
@@ -64,13 +56,6 @@ void testIsAlphanumeric() {
         assertFalse(StringUtils.isAlphanumeric("hkHKHik*khbkuh"));
     }
 
-    @Test
-    void testIsAlphanumericSupplementary() {
-        // both a supplementary letter and a supplementary digit are 
alphanumeric
-        assertTrue(StringUtils.isAlphanumeric(new 
String(Character.toChars(0x10400))));
-        assertTrue(StringUtils.isAlphanumeric(new 
String(Character.toChars(0x1D7CE))));
-    }
-
     @Test
     void testIsAlphanumericSpace() {
         assertFalse(StringUtils.isAlphanumericSpace(null));
@@ -92,6 +77,13 @@ void testIsAlphanumericSpaceSupplementary() {
         assertTrue(StringUtils.isAlphanumericSpace(new 
String(Character.toChars(0x10400)) + " " + new 
String(Character.toChars(0x1D7CE))));
     }
 
+    @Test
+    void testIsAlphanumericSupplementary() {
+        // both a supplementary letter and a supplementary digit are 
alphanumeric
+        assertTrue(StringUtils.isAlphanumeric(new 
String(Character.toChars(0x10400))));
+        assertTrue(StringUtils.isAlphanumeric(new 
String(Character.toChars(0x1D7CE))));
+    }
+
     @Test
     void testIsAlphaspace() {
         assertFalse(StringUtils.isAlphaSpace(null));
@@ -115,6 +107,14 @@ void testIsAlphaSpaceSupplementary() {
         assertFalse(StringUtils.isAlphaSpace(new 
String(Character.toChars(0x1D7CE))));
     }
 
+    @Test
+    void testIsAlphaSupplementary() {
+        // U+10400 DESERET CAPITAL LETTER LONG I is a supplementary Unicode 
letter
+        assertTrue(StringUtils.isAlpha(new 
String(Character.toChars(0x10400))));
+        // U+1D7CE MATHEMATICAL BOLD DIGIT ZERO is a supplementary digit, not 
a letter
+        assertFalse(StringUtils.isAlpha(new 
String(Character.toChars(0x1D7CE))));
+    }
+
     @Test
     void testIsAsciiPrintable_String() {
         assertFalse(StringUtils.isAsciiPrintable(null));
@@ -163,14 +163,6 @@ void testIsNumeric() {
         assertFalse(StringUtils.isNumeric("-123"));
     }
 
-    @Test
-    void testIsNumericSupplementary() {
-        // U+1D7CE MATHEMATICAL BOLD DIGIT ZERO is a supplementary Unicode 
digit
-        assertTrue(StringUtils.isNumeric(new 
String(Character.toChars(0x1D7CE))));
-        // U+10400 DESERET CAPITAL LETTER LONG I is a supplementary letter, 
not a digit
-        assertFalse(StringUtils.isNumeric(new 
String(Character.toChars(0x10400))));
-    }
-
     @Test
     void testIsNumericSpace() {
         assertFalse(StringUtils.isNumericSpace(null));
@@ -199,6 +191,14 @@ void testIsNumericSpaceSupplementary() {
         assertFalse(StringUtils.isNumericSpace(new 
String(Character.toChars(0x10400))));
     }
 
+    @Test
+    void testIsNumericSupplementary() {
+        // U+1D7CE MATHEMATICAL BOLD DIGIT ZERO is a supplementary Unicode 
digit
+        assertTrue(StringUtils.isNumeric(new 
String(Character.toChars(0x1D7CE))));
+        // U+10400 DESERET CAPITAL LETTER LONG I is a supplementary letter, 
not a digit
+        assertFalse(StringUtils.isNumeric(new 
String(Character.toChars(0x10400))));
+    }
+
     @Test
     void testIsWhitespace() {
         assertFalse(StringUtils.isWhitespace(null));

Reply via email to