Emoji: Add test for ZWJ sequence emoji
authorlain <lain@soykaf.club>
Wed, 2 Dec 2020 15:18:08 +0000 (16:18 +0100)
committerlain <lain@soykaf.club>
Wed, 2 Dec 2020 15:18:08 +0000 (16:18 +0100)
test/pleroma/emoji_test.exs

index 65f575fd44c003629ba41ed02d3743174b83a58f..3070fb19f73220b6685a654fa379c291262a46f0 100644 (file)
@@ -15,6 +15,7 @@ defmodule Pleroma.EmojiTest do
       assert Emoji.is_unicode_emoji?("🥺")
       assert Emoji.is_unicode_emoji?("🤰")
       assert Emoji.is_unicode_emoji?("❤️")
+      assert Emoji.is_unicode_emoji?("🏳️‍⚧️")
     end
   end