diff --git a/test/auto_linker_test.exs b/test/auto_linker_test.exs
index 489b03e..9baf243 100644
--- a/test/auto_linker_test.exs
+++ b/test/auto_linker_test.exs
@@ -13,8 +13,8 @@ defmodule AutoLinkerTest do
end
test "does on link existing links" do
- assert AutoLinker.link("google.com") ==
- "google.com"
+ text = ~s(google.com)
+ assert AutoLinker.link(text) == text
end
test "all kinds of links" do
@@ -123,11 +123,11 @@ defmodule AutoLinkerTest do
"Hello again, @user.<script></script>\nThis is on another :moominmamma: line. #2hu #epic #phantasmagoric"
handler = fn "@" <> user = mention, _, _, _ ->
- ~s(@#{mention})
+ ~s(@#{mention})
end
expected =
- "Hello again, @@user.<script></script>\nThis is on another :moominmamma: line. #2hu #epic #phantasmagoric"
+ ~s(Hello again, @@user.<script></script>\nThis is on another :moominmamma: line. #2hu #epic #phantasmagoric)
assert AutoLinker.link(text,
mention: true,