spec/unicode_name_spec.rb in unicode-name-1.4.0 vs spec/unicode_name_spec.rb in unicode-name-1.4.1

- old
+ new

@@ -61,10 +61,10 @@ it "will return <private-use> for private use characters" do assert_equal "<private-use-FFFFD>", Unicode::Name.label("\u{FFFFD}") end it "will return <surrogate-hhhh> for codepoints in surrogate area" do - assert_equal "<surrogate-D800>", Unicode::Name.label("\u{D800}") + assert_equal "<surrogate-D800>", Unicode::Name.label("\xED\xA0\x80") end it "will return <noncharacter-hhhh> for codepoints defined as noncharacter" do assert_equal "<noncharacter-FFFFF>", Unicode::Name.label("\u{FFFFF}") end