summaryrefslogtreecommitdiff
path: root/test/formatter_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-02-19 16:58:28 +0000
committerMark Felder <feld@FreeBSD.org>2019-02-19 16:58:28 +0000
commit2d21ea1a0e1be2e737dc4d283e72207580856214 (patch)
treef377cf25c36de97d664f13cebacb6ff2e0d43b91 /test/formatter_test.exs
parent10a11f083ca543022c61e24b1ec0cc83811d6d06 (diff)
parent1dd718e83c76db218f12a98344b568fe10ecbefe (diff)
downloadpleroma-2d21ea1a0e1be2e737dc4d283e72207580856214.tar.gz
pleroma-2d21ea1a0e1be2e737dc4d283e72207580856214.zip
Merge branch 'develop' into fix/twittercards
Diffstat (limited to 'test/formatter_test.exs')
-rw-r--r--test/formatter_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/formatter_test.exs b/test/formatter_test.exs
index 2e717194b..f14077d25 100644
--- a/test/formatter_test.exs
+++ b/test/formatter_test.exs
@@ -197,7 +197,7 @@ defmodule Pleroma.FormatterTest do
{subs, text} = Formatter.add_user_links({[], text}, mentions)
- assert length(subs) == 0
+ assert Enum.empty?(subs)
Enum.each(subs, fn {uuid, _} -> assert String.contains?(text, uuid) end)
expected_text = "@a hi"