diff options
Diffstat (limited to 't/psgi_v2.t')
-rw-r--r-- | t/psgi_v2.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/psgi_v2.t b/t/psgi_v2.t index 2c9387a4..c4f80869 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -250,6 +250,8 @@ test_psgi(sub { $www->call(@_) }, sub { is($old->content, 'old', 'got expected old content'); is($new->content, 'new', 'got expected new content'); } + $res = $cb->(GET('/v2test/?t=1970'.'01'.'01'.'000000')); + is($res->code, 404, '404 for out-of-range t= param'); }); done_testing(); |