From d84ca4d0b74354e3a56f29370f3dbfc25380e7ae Mon Sep 17 00:00:00 2001 From: Justin Tormey Date: Thu, 19 Nov 2020 09:48:28 -0600 Subject: [PATCH] Fix formatting in test --- test/linkify_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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