Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
196d9c0f
Commit
196d9c0f
authored
Dec 18, 2018
by
Rin Toshaka
Browse files
Fix tests
parent
8a67677d
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/formatter_test.exs
View file @
196d9c0f
...
...
@@ -27,7 +27,7 @@ test "does not turn html characters to tags" do
text
=
"Fact #3: pleroma does what mastodon't"
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment