X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fview.t;h=325f509c0660e83d6f7c03a81809fd3b6552c13b;hb=f76f265a851944b5dedcc3be5f3b5224b6ebda89;hp=151fa77fffb42663754fb49f590108c38b9a67ed;hpb=dbcc775378359cf41e57b9e9aa0ca6553722b479;p=public-inbox.git diff --git a/t/view.t b/t/view.t index 151fa77f..325f509c 100644 --- a/t/view.t +++ b/t/view.t @@ -1,4 +1,4 @@ -# Copyright (C) 2013, Eric Wong and all contributors +# Copyright (C) 2013-2015 all contributors # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt) use strict; use warnings; @@ -44,17 +44,18 @@ EOF my $html = PublicInbox::View::msg_html(undef, $mime); # ghetto tests - like($html, qr!]+><\/a>> Long and wordy/, "long quoted text is anchored"); # short page - my $pfx = "http://example.com/test/f"; + my $pfx = "../hello%40example.com/f/"; $mime = Email::MIME->new($s); my $short = PublicInbox::View::msg_html(undef, $mime, $pfx); - like($short, qr!