FormatterTest: fix nesting in expected output
This commit is contained in:
parent
db90c9e3b0
commit
31148c1857
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ test "correctly parses mentions on the last line of html" do
|
|||
assert length(mentions) == 1
|
||||
|
||||
expected_text =
|
||||
~s(<p>Hello</p><p><span class="h-card"><a class="u-url mention" data-user="#{lain.id}" href="#{lain.ap_id}" rel="ugc">@<span>lain</span></a></p></span>)
|
||||
~s(<p>Hello</p><p><span class="h-card"><a class="u-url mention" data-user="#{lain.id}" href="#{lain.ap_id}" rel="ugc">@<span>lain</span></a></span></p>)
|
||||
|
||||
assert expected_text == text
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue