X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fformatter_test.exs;h=ff882f8f1ae1ad96823451de5ed589e3808c257c;hb=81600c94f40a6edd04c1a1db634912b61c9dbc9f;hp=d9cef8abc53e77b5bc9c148aee7c7e33ce9cf05a;hpb=bf953989cd9475f888bbd975ae07ec447fbc340c;p=akkoma diff --git a/test/formatter_test.exs b/test/formatter_test.exs index d9cef8abc..ff882f8f1 100644 --- a/test/formatter_test.exs +++ b/test/formatter_test.exs @@ -57,6 +57,13 @@ defmodule Pleroma.FormatterTest do "https://en.wikipedia.org/wiki/Sophia_(Gnosticism)#Mythos_of_the_soul" assert Formatter.add_links({[], text}) |> Formatter.finalize() == expected + + text = "https://www.google.co.jp/search?q=Nasim+Aghdam" + + expected = + "https://www.google.co.jp/search?q=Nasim+Aghdam" + + assert Formatter.add_links({[], text}) |> Formatter.finalize() == expected end end