about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-01-21 04:41:06 +0000
committerEric Wong <e@80x24.org>2017-01-21 04:41:06 +0000
commita195b2a2195a27110df055153105743b80746b36 (patch)
tree62599de9c5c18370924d70cd68705218624fc2da /t
parentc47247dfdee80a8ad68039df7b95d3e900e31b54 (diff)
downloadpublic-inbox-a195b2a2195a27110df055153105743b80746b36.tar.gz
We must not drop the leading slash in the URI.  This
regression was introduced when we dropped Plack::Request
dependency.
Diffstat (limited to 't')
-rw-r--r--t/repobrowse_git_atom.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/repobrowse_git_atom.t b/t/repobrowse_git_atom.t
index 2525effd..4f0078eb 100644
--- a/t/repobrowse_git_atom.t
+++ b/t/repobrowse_git_atom.t
@@ -28,6 +28,7 @@ test_psgi($test->{app}, sub {
         $res = $cb->(GET($req . '/foo.txt'));
         is($res->code, 200, 'got 200');
         $body = dechunk($res);
+        like($body, qr{\bhref="http://[^/]+/test\.git/}, 'hrefs OK');
         SKIP: {
                 skip 'XML::Feed missing', 2 unless $have_xml_feed;
                 my $p = XML::Feed->parse(\$body);