]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/solver_git.t
www_coderepo: quiet 404s on Atom feeds for dead branches
[public-inbox.git] / t / solver_git.t
index 0090bc06d6165c9fd44ca57745c26b3413cc33e0..79672398f88cfe9fcdbad92629f68136eda7d2cc 100644 (file)
@@ -379,7 +379,10 @@ EOF
                        ok($t->{feed}->{entry}, 'got entry');
 
                        $res = $cb->(GET('/public-inbox/atom/README.md'));
-                       is($res->code, 404, '404 on non-existent file Atom feed');
+                       is($res->code, 404, '404 on missing file Atom feed');
+
+                       $res = $cb->(GET('/public-inbox/atom/?h=gone'));
+                       is($res->code, 404, '404 on missing Atom feed branch');
                }
 
                $res = $cb->(GET('/public-inbox/tree/'));