spec/unicode_emoji_spec.rb in unicode-emoji-2.3.1 vs spec/unicode_emoji_spec.rb in unicode-emoji-2.4.0
- old
+ new
@@ -91,9 +91,14 @@
it "matches 12.1 emoji" do
"🧑🦱 person: curly hair" =~ Unicode::Emoji::REGEX
assert_equal "🧑🦱", $&
end
+
+ it "matches 13.0 emoji" do
+ "👨🍼 man feeding baby" =~ Unicode::Emoji::REGEX
+ assert_equal "👨🍼", $&
+ end
end
describe "REGEX_VALID" do
it "matches most singleton emoji codepoints" do
"😴 sleeping face" =~ Unicode::Emoji::REGEX_VALID