X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fpleroma%2Fformatter_test.exs;h=b0f9f41b1207389825cf1cfc18dfbc249c51d5c2;hb=bca1c43dcbbcd1320bc838f1c40b515c5e2c1369;hp=7f54638fbe743785496a0935fd9820c2f18ed043;hpb=52fc59f125c10ad73b9fd1a0639b6dc5681776ca;p=akkoma
diff --git a/test/pleroma/formatter_test.exs b/test/pleroma/formatter_test.exs
index 7f54638fb..b0f9f41b1 100644
--- a/test/pleroma/formatter_test.exs
+++ b/test/pleroma/formatter_test.exs
@@ -151,13 +151,7 @@ defmodule Pleroma.FormatterTest do
assert length(mentions) == 3
expected_text =
- ~s(@gsimg According to @archa_eme_, that is @daggsy. Also hello @archaeme)
+ ~s(@gsimg According to @archa_eme_, that is @daggsy. Also hello @archaeme)
assert expected_text == text
end
@@ -172,9 +166,7 @@ defmodule Pleroma.FormatterTest do
assert length(mentions) == 1
expected_text =
- ~s(@mike test)
+ ~s(@mike test)
assert expected_text == text
end
@@ -210,13 +202,7 @@ defmodule Pleroma.FormatterTest do
assert mentions == [{"@#{user.nickname}", user}, {"@#{other_user.nickname}", other_user}]
assert expected_text ==
- ~s(@#{user.nickname} @#{other_user.nickname} hey dudes i hate @#{third_user.nickname})
+ ~s(@#{user.nickname} @#{other_user.nickname} hey dudes i hate @#{third_user.nickname})
end
test "given the 'safe_mention' option, it will still work without any mention" do