about summary refs log tree commit homepage
path: root/t/psgi_v2.t
diff options
context:
space:
mode:
Diffstat (limited to 't/psgi_v2.t')
-rw-r--r--t/psgi_v2.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/psgi_v2.t b/t/psgi_v2.t
index 2a798d6f..9964b477 100644
--- a/t/psgi_v2.t
+++ b/t/psgi_v2.t
@@ -165,6 +165,11 @@ test_psgi(sub { $www->call(@_) }, sub {
         $res = $cb->(GET('/v2test/reuse@mid/t/'));
         $raw = $res->content;
         like($raw, qr/\b4\+ messages\b/, 'thread overview shown with /t/');
+
+        $res = $cb->(GET('/v2test/0/info/refs'));
+        is($res->code, 200, 'got info refs for dumb clones');
+        $res = $cb->(GET('/v2test/info/refs'));
+        is($res->code, 404, 'unpartitioned git URL fails');
 });
 
 done_testing();