X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fformatter_test.exs;h=9b6ee2425e939b8c466fe981b08a2c260b639aa2;hb=2a298d70f9938d1b6d5af04d8b8863fdd3299f46;hp=eb4affab8e21594cc84083fde2167e82ad466de2;hpb=6cac8e3c8b866c71e96ade110b7b1e222dd78751;p=akkoma diff --git a/test/formatter_test.exs b/test/formatter_test.exs index eb4affab8..9b6ee2425 100644 --- a/test/formatter_test.exs +++ b/test/formatter_test.exs @@ -43,4 +43,12 @@ defmodule Pleroma.FormatterTest do assert Formatter.parse_mentions(text) == expected_result end + + test "it adds cool emoji" do + text = "I love :moominmamma:" + + expected_result = "I love moominmamma" + + assert Formatter.finmojifiy(text) == expected_result + end end