projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Conversations: Make tests run.
[akkoma]
/
test
/
formatter_test.exs
diff --git
a/test/formatter_test.exs
b/test/formatter_test.exs
index fcdf931b7268443d1ef80e22e0aca626a6724191..e74985c4ec9542439a46847162245ac5cf4a00c2 100644
(file)
--- a/
test/formatter_test.exs
+++ b/
test/formatter_test.exs
@@
-271,7
+271,9
@@
defmodule Pleroma.FormatterTest do
test "it returns the emoji used in the text" do
text = "I love :moominmamma:"
test "it returns the emoji used in the text" do
text = "I love :moominmamma:"
- assert Formatter.get_emoji(text) == [{"moominmamma", "/finmoji/128px/moominmamma-128.png"}]
+ assert Formatter.get_emoji(text) == [
+ {"moominmamma", "/finmoji/128px/moominmamma-128.png", "Finmoji"}
+ ]
end
test "it returns a nice empty result when no emojis are present" do
end
test "it returns a nice empty result when no emojis are present" do