Fix tests
This commit is contained in:
parent
8a67677d77
commit
196d9c0fd0
|
@ -27,7 +27,7 @@ test "does not turn html characters to tags" do
|
||||||
text = "Fact #3: pleroma does what mastodon't"
|
text = "Fact #3: pleroma does what mastodon't"
|
||||||
|
|
||||||
expected_text =
|
expected_text =
|
||||||
"Fact <a data-tag=\"3\" href=\"http://localhost:4001/tag/3\">#3</a>: pleroma does what mastodon't"
|
"Fact <a data-tag='3' href='http://localhost:4001/tag/3' rel='tag'>#3</a>: pleroma does what mastodon't"
|
||||||
|
|
||||||
tags = Formatter.parse_tags(text)
|
tags = Formatter.parse_tags(text)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue