]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/psgi_search.t
lei rm-watch: new command to support removing watches
[public-inbox.git] / t / psgi_search.t
index d59e439b124777a53e7f9d07d56348a0d096f2e3..5bdd66edf2bee703e68fd5646d34cc4821dd6d54 100644 (file)
@@ -88,6 +88,10 @@ test_psgi(sub { $www->call(@_) }, sub {
        is($res->code, 200, 'successful search result');
        is_deeply([], $warn, 'no warnings from non-numeric comparison');
 
+       $res = $cb->(GET('/test/?&q=s:test'));
+       is($res->code, 200, 'successful search result');
+       is_deeply([], $warn, 'no warnings from black parameter');
+
        $res = $cb->(POST('/test/?q=s:bogus&x=m'));
        is($res->code, 404, 'failed search result gives 404');
        is_deeply([], $warn, 'no warnings');