assert parse(text) == "(check out <a href=\"http://google.com\">google.com</a>)"
end
test "links include periods at the end" do
text =
"The article is at https://en.wikipedia.org/wiki/Revlon,_Inc._v._MacAndrews_%26_Forbes_Holdings,_Inc."
assert parse(text) ==
"The article is at <a href=\"https://en.wikipedia.org/wiki/Revlon,_Inc._v._MacAndrews_%26_Forbes_Holdings,_Inc.\">https://en.wikipedia.org/wiki/Revlon,_Inc._v._MacAndrews_%26_Forbes_Holdings,_Inc.</a>"