diff options
Diffstat (limited to 't/repobrowse_git_atom.t')
-rw-r--r-- | t/repobrowse_git_atom.t | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/t/repobrowse_git_atom.t b/t/repobrowse_git_atom.t index 1f8e95e3..6769bf9f 100644 --- a/t/repobrowse_git_atom.t +++ b/t/repobrowse_git_atom.t @@ -23,11 +23,7 @@ test_psgi($test->{app}, sub { like($body, qr!<pre\s*[^>]+>\* header:\n add header</pre>!, 'body wrapped in <pre>'); - $res = $cb->(GET($req . '/')); - my $sl = dechunk($res); - is($body, $sl, 'slash returned identical to non-trailing slash'); - - $res = $cb->(GET($req . '/foo.txt')); + $res = $cb->(GET($req . '/master/foo.txt')); is($res->code, 200, 'got 200'); $body = dechunk($res); like($body, qr{\bhref="http://[^/]+/test\.git/}, 'hrefs OK'); |