X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpsgi_v2.t;h=11aef5b3380c9c860e50161ae6e83fa83f27af6a;hb=03c9119ec613fa43dcf0a50b5f35754f13228bc8;hp=4ab9601c0f91985dfcd20f6876dd13ce17910dc1;hpb=9eac193c72e1380972f3589cb6b4f36b79183233;p=public-inbox.git diff --git a/t/psgi_v2.t b/t/psgi_v2.t index 4ab9601c..11aef5b3 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -296,6 +296,9 @@ my $client3 = sub { } $res = $cb->(GET('/v2test/?t=1970'.'01'.'01'.'000000')); is($res->code, 404, '404 for out-of-range t= param'); + @warn = (); + $res = $cb->(GET('/v2test/?t=1970'.'01'.'01')); + is_deeply(\@warn, [], 'no warnings on YYYYMMDD only'); }; test_psgi(sub { $www->call(@_) }, $client3); $run_httpd->($client3, 4);