X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F100_complex.t;h=93df7663c5cddcbf7c646538db97083ca7340557;hb=93d55a1ad70b0e877af360431c34b52a9eef337a;hp=14539aec8eedfb3781d4807ee857ee92fdde1658;hpb=5fb5cef1de975c4a85d20e2b51b383912652bf80;p=catagits%2FCatalystX-Declare.git diff --git a/t/100_complex.t b/t/100_complex.t index 14539ae..93df766 100644 --- a/t/100_complex.t +++ b/t/100_complex.t @@ -62,8 +62,10 @@ is get('/foo/surrounded_target'), 'foo/surrounded_target surrounded', 'action wa is get('/foo/inline_class'), 'HELLO', 'inline classes work as expected'; # error handling -is get('/foo/wants_integer/butdoesntgetone'), 'Bad Request', 'validation error causes bad request error'; +is get('/foo/wants_integer/butdoesntgetone'), 'Not found', 'validation error causes bad request error'; +# fix bug with capture args below under { } +is get('/foo/lower/down/the/param/3/road/5'), 8, 'capture args and block under work together'; done_testing;