X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Femoji%2Fformatter_test.exs;h=3bfee9420ba1eadf6e88be2dd4edf541b912257a;hb=6b2fb9160cd945cdd4b1265c793d1f85d559fccb;hp=3e37ae3f002becf4f2729537860f5b420cb95f9b;hpb=08f68370659597d6bc428e425925bcb9516d5706;p=akkoma
diff --git a/test/emoji/formatter_test.exs b/test/emoji/formatter_test.exs
index 3e37ae3f0..3bfee9420 100644
--- a/test/emoji/formatter_test.exs
+++ b/test/emoji/formatter_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Emoji.FormatterTest do
@@ -28,10 +28,7 @@ defmodule Pleroma.Emoji.FormatterTest do
}
|> Pleroma.Emoji.build()
- expected_result =
- "I love "
-
- assert Formatter.emojify(text, [{custom_emoji.code, custom_emoji}]) == expected_result
+ refute Formatter.emojify(text, [{custom_emoji.code, custom_emoji}]) =~ text
end
end