diff --git a/test/linkify_test.exs b/test/linkify_test.exs index a86d0fe..81f9688 100644 --- a/test/linkify_test.exs +++ b/test/linkify_test.exs @@ -343,7 +343,7 @@ defmodule LinkifyTest do test "href handler" do text = ~s(google.com) - result_text = Linkify.link(text, href_handler: & "/redirect?#{URI.encode_query(to: &1)}") + result_text = Linkify.link(text, href_handler: &"/redirect?#{URI.encode_query(to: &1)}") assert result_text == ~s(google.com) end