Skip to content

Commit a92cf2d

Browse files
committed
Add StringUtilsTest.testGetDigitsKeycaps()
1 parent f776bf0 commit a92cf2d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/org/apache/commons/lang3/StringUtilsTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,11 @@ void testGetDigits() {
692692
assertEquals("\u0967\u0968\u0969", StringUtils.getDigits("\u0967\u0968\u0969"));
693693
}
694694

695+
@Test
696+
void testGetDigitsKeycaps() {
697+
assertEquals("0123456789", StringUtils.getDigits("0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣#️⃣"));
698+
}
699+
695700
@Test
696701
void testGetFuzzyDistance() {
697702
assertEquals(0, StringUtils.getFuzzyDistance("", "", Locale.ENGLISH));

0 commit comments

Comments
 (0)