projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mix format
[akkoma]
/
test
/
pleroma
/
emoji
/
formatter_test.exs
diff --git
a/test/pleroma/emoji/formatter_test.exs
b/test/pleroma/emoji/formatter_test.exs
index 12af6cd8b1e0b5c545191594bb15838bf5e83b61..eafdd5a435eabdea744b5c4983dd0d552048043b 100644
(file)
--- a/
test/pleroma/emoji/formatter_test.exs
+++ b/
test/pleroma/emoji/formatter_test.exs
@@
-1,17
+1,17
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Emoji.FormatterTest do
alias Pleroma.Emoji.Formatter
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Emoji.FormatterTest do
alias Pleroma.Emoji.Formatter
- use Pleroma.DataCase
+ use Pleroma.DataCase
, async: true
describe "emojify" do
test "it adds cool emoji" do
text = "I love :firefox:"
expected_result =
describe "emojify" do
test "it adds cool emoji" do
text = "I love :firefox:"
expected_result =
- "I love <img
class=\"emoji\"
alt=\"firefox\" title=\"firefox\" src=\"/emoji/Firefox.gif\"/>"
+ "I love <img alt=\"firefox\" title=\"firefox\" src=\"/emoji/Firefox.gif\"/>"
assert Formatter.emojify(text) == expected_result
end
assert Formatter.emojify(text) == expected_result
end