spec/unicode_emoji_spec.rb in unicode-emoji-2.9.0 vs spec/unicode_emoji_spec.rb in unicode-emoji-3.0.0

- old
+ new

@@ -405,10 +405,10 @@ matches = "U+1F32D 🌭 HOT DOG, U+203C ‼ DOUBLE EXCLAMATION MARK, U+26E8 ⛨ BLACK CROSS ON SHIELD".scan(Unicode::Emoji::REGEX_PICTO) assert_equal ["🌭", "‼", "⛨"], matches end end - describe "REGEX_PICTO" do + describe "REGEX_PICTO_NO_EMOJI" do it "matches codepoints with Extended_Pictograph property, but no Emoji property" do matches = "U+1F32D 🌭 HOT DOG, U+203C ‼ DOUBLE EXCLAMATION MARK, U+26E8 ⛨ BLACK CROSS ON SHIELD".scan(Unicode::Emoji::REGEX_PICTO_NO_EMOJI) assert_equal ["⛨"], matches end end