[LANG-1655] Fixed an issue where characters were separated in the NFD

system

Add but disable a test.
This commit is contained in:
Gary Gregory 2022-04-03 14:44:11 -04:00
parent f714c84f95
commit 454255f0bb
1 changed files with 10 additions and 0 deletions

View File

@ -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");
}
}