Fix formatting in test
This commit is contained in:
parent
8713d4141a
commit
d84ca4d0b7
1 changed files with 1 additions and 1 deletions
|
@ -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(<a href="/redirect?to=http%3A%2F%2Fgoogle.com">google.com</a>)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue