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 454255f [LANG-1655] Fixed an issue where characters were separated in the NFD system 454255f is described below commit 454255f0bb55f845f0585858496b0ec3ba7f722c Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Apr 3 14:44:11 2022 -0400 [LANG-1655] Fixed an issue where characters were separated in the NFD system Add but disable a test. --- .../org/apache/commons/lang3/StringUtilsTrimStripTest.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsTrimStripTest.java b/src/test/java/org/apache/commons/lang3/StringUtilsTrimStripTest.java index c5db103..daae902 100644 --- a/src/test/java/org/apache/commons/lang3/StringUtilsTrimStripTest.java +++ b/src/test/java/org/apache/commons/lang3/StringUtilsTrimStripTest.java @@ -20,6 +20,7 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** @@ -235,4 +236,13 @@ public class StringUtilsTrimStripTest { assertEquals("ALOSZZCN aloszzcn", StringUtils.stripAccents("\u0104\u0141\u00D3\u015A\u017B\u0179\u0106\u0143 " + "\u0105\u0142\u00F3\u015B\u017C\u017A\u0107\u0144")); } + + @Test + @Disabled + public void testStripAccents_Korean() { + // LANG-1655 + final String input = "잊지마 넌 흐린 어둠사이 왼손으로 그린 별 하나"; + assertEquals(input, StringUtils.stripAccents(input), "Failed to handle non-accented text"); + + } }