We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c7f34 commit a122d7aCopy full SHA for a122d7a
test/test_unicode_normalize.rb
@@ -210,6 +210,11 @@ def test_us_ascii
210
assert_equal true, ascii_string.unicode_normalized?(:nfkd)
211
end
212
213
+ def test_bug_21559
214
+ str = "s\u{1611e}\u{323}\u{1611e}\u{307}\u{1611f}"
215
+ assert_equal str.unicode_normalize(:nfd), str.unicode_normalize(:nfc).unicode_normalize(:nfd)
216
+ end
217
+
218
def test_canonical_ordering
219
a = "\u03B1\u0313\u0300\u0345"
220
a_unordered1 = "\u03B1\u0345\u0313\u0300"
0 commit comments