diff --git a/test/linkify_test.exs b/test/linkify_test.exs index f7bfc68..2568052 100644 --- a/test/linkify_test.exs +++ b/test/linkify_test.exs @@ -667,5 +667,14 @@ defmodule LinkifyTest do assert Linkify.link(text) == expected end + + test "Does not link trailing punctuation" do + text = "You can find more info at https://pleroma.social." + + expected = + "You can find more info at https://pleroma.social." + + assert Linkify.link(text) == expected + end end end