spec/unicode_emoji_spec.rb in unicode-emoji-2.8.0 vs spec/unicode_emoji_spec.rb in unicode-emoji-2.9.0
- old
+ new
@@ -101,9 +101,14 @@
it "matches 13.1 emoji" do
"❤️🔥 heart on fire" =~ Unicode::Emoji::REGEX
assert_equal "❤️🔥", $&
end
+
+ it "matches 14.0 emoji" do
+ "🪺 nest with eggs" =~ Unicode::Emoji::REGEX
+ assert_equal "🪺", $&
+ end
end
describe "REGEX_VALID" do
it "matches most singleton emoji codepoints" do
"😴 sleeping face" =~ Unicode::Emoji::REGEX_VALID