spec/unicode_emoji_spec.rb in unicode-emoji-0.9.1 vs spec/unicode_emoji_spec.rb in unicode-emoji-0.9.2
- old
+ new
@@ -253,9 +253,14 @@
it "does not match textual singleton emoji in combination with emoji variation selector" do
"▶\u{FE0F} play button" =~ Unicode::Emoji::REGEX_TEXT
assert_nil $&
end
+ it "does not match textual singleton emoji in combination with emoji modifiers" do
+ "✌🏻 victory hand" =~ Unicode::Emoji::REGEX_TEXT
+ assert_nil $&
+ end
+
it "does not match singleton 'component' emoji codepoints" do
"🏻 light skin tone" =~ Unicode::Emoji::REGEX_TEXT
assert_nil $&
end