spec/unicode_name_spec.rb in unicode-name-1.13.3 vs spec/unicode_name_spec.rb in unicode-name-1.13.4
- old
+ new
@@ -26,9 +26,10 @@
assert_equal "EGYPTIAN HIEROGLYPH-143F5", Unicode::Name.of("")
assert_equal "KHITAN SMALL SCRIPT CHARACTER-18C12", Unicode::Name.of("𘰒")
assert_equal "TANGUT IDEOGRAPH-18D00", Unicode::Name.of("𘴀")
assert_equal "NUSHU CHARACTER-1B171", Unicode::Name.of("𛅱")
assert_equal "CJK COMPATIBILITY IDEOGRAPH-2F9B1", Unicode::Name.of("𧃒")
+ assert_equal "CJK COMPATIBILITY IDEOGRAPH-F978", Unicode::Name.of("兩")
end
it "will return nil for characters without name" do
assert_nil Unicode::Name.of("\u{10c50}")
assert_nil Unicode::Name.of("\0")