diff options
author | kaniini <nenolod@gmail.com> | 2019-02-14 03:55:26 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-02-14 03:55:26 +0000 |
commit | 19756d68f2b341deac0b630b8e0d351b6ad4b38f (patch) | |
tree | 5aa7585c9c825f4a2908344905499d76b2864b66 /test/formatter_test.exs | |
parent | 6652389e80b736fb64a8d08e2e5f50eb4de9c54b (diff) | |
parent | 74579115a73d697aed67abe2dc8ea1a664c89c5b (diff) | |
download | pleroma-19756d68f2b341deac0b630b8e0d351b6ad4b38f.tar.gz pleroma-19756d68f2b341deac0b630b8e0d351b6ad4b38f.zip |
Merge branch 'fix/credo-issues-test' into 'develop'
Fix credo issues in ./test
See merge request pleroma/pleroma!808
Diffstat (limited to 'test/formatter_test.exs')
-rw-r--r-- | test/formatter_test.exs | 2 |
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" |