mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-10 03:55:10 +00:00
[LANG-1655] Fixed an issue where characters were separated in the NFD
system Add but disable a test.
This commit is contained in:
parent
f714c84f95
commit
454255f0bb
@ -20,6 +20,7 @@
|
|||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -235,4 +236,13 @@ public void testStripAccents() {
|
|||||||
assertEquals("ALOSZZCN aloszzcn", StringUtils.stripAccents("\u0104\u0141\u00D3\u015A\u017B\u0179\u0106\u0143 "
|
assertEquals("ALOSZZCN aloszzcn", StringUtils.stripAccents("\u0104\u0141\u00D3\u015A\u017B\u0179\u0106\u0143 "
|
||||||
+ "\u0105\u0142\u00F3\u015B\u017C\u017A\u0107\u0144"));
|
+ "\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");
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user