From bdd98ee731c49fe13d5e143bc2517a542aabc308 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Wed, 27 Feb 2019 18:33:06 +0100 Subject: [PATCH] AutoLinker.BuilderTest: Do not pass overridden href to create_link/2 --- test/builder_test.exs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/builder_test.exs b/test/builder_test.exs index 90bd455..779c5b2 100644 --- a/test/builder_test.exs +++ b/test/builder_test.exs @@ -8,15 +8,15 @@ defmodule AutoLinker.BuilderTest do expected = "text" - assert create_link("text", %{href: "url"}) == expected + assert create_link("text", %{}) == expected expected = "text" - assert create_link("text", %{href: "url", rel: nil}) == expected + assert create_link("text", %{rel: nil}) == expected expected = "text" - assert create_link("text", %{href: "url", rel: "me"}) == expected + assert create_link("text", %{rel: "me"}) == expected end test "create_markdown_links/2" do