spec/unicode_emoji_spec.rb in unicode-emoji-2.5.0 vs spec/unicode_emoji_spec.rb in unicode-emoji-2.6.0
- old
+ new
@@ -96,9 +96,14 @@
it "matches 13.0 emoji" do
"👨🍼 man feeding baby" =~ Unicode::Emoji::REGEX
assert_equal "👨🍼", $&
end
+
+ it "matches 13.1 emoji" do
+ "❤️🔥 heart on fire" =~ Unicode::Emoji::REGEX
+ assert_equal "❤️🔥", $&
+ end
end
describe "REGEX_VALID" do
it "matches most singleton emoji codepoints" do
"😴 sleeping face" =~ Unicode::Emoji::REGEX_VALID