mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-27 08:35:05 +01:00
tests: formatting
This commit is contained in:
parent
3e10d13909
commit
a8bd120ea6
@ -135,7 +135,7 @@ defmodule Pleroma.FormatterTest 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 New Issue
Block a user