tests: formatting
This commit is contained in:
parent
3e10d13909
commit
a8bd120ea6
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ test "gives a replacement for single-character local nicknames" do
|
|||
assert length(subs) == 1
|
||||
Enum.each(subs, fn {uuid, _} -> assert String.contains?(text, uuid) end)
|
||||
|
||||
expected_text = "<span><a class='mention' href='#{o.ap_id}'>@<span>o</span></a></span> hi"
|
||||
expected_text = "<span><a class='mention' href='#{o.ap_id}'>@<span>o</span></a></span> hi"
|
||||
assert expected_text == Formatter.finalize({subs, text})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue