mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Add test for Unicode normalization of Gurung Khema.
This commit is contained in:
parent
a122d7a58e
commit
83a943b594
@ -215,6 +215,10 @@ class TestUnicodeNormalize
|
||||
assert_equal str.unicode_normalize(:nfd), str.unicode_normalize(:nfc).unicode_normalize(:nfd)
|
||||
end
|
||||
|
||||
def test_gurung_khema
|
||||
assert_equal "\u{16121 16121 16121 16121 16121 1611E}", "\u{1611E 16121 16121 16121 16121 16121}".unicode_normalize
|
||||
end
|
||||
|
||||
def test_canonical_ordering
|
||||
a = "\u03B1\u0313\u0300\u0345"
|
||||
a_unordered1 = "\u03B1\u0345\u0313\u0300"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user