From: Christian Walde Date: Fri, 22 Nov 2013 13:58:05 +0000 (+0100) Subject: add test for to_app-less object as invalid psgi response, completing coverage of... X-Git-Tag: v0.021~19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FWeb-Simple.git;a=commitdiff_plain;h=23dee6a3ce7616c9e6050f61c46b2e3942eeaa3f add test for to_app-less object as invalid psgi response, completing coverage of Web::Dispatch::call --- diff --git a/t/dispatch_misc.t b/t/dispatch_misc.t index 6941513..3876e00 100644 --- a/t/dispatch_misc.t +++ b/t/dispatch_misc.t @@ -83,6 +83,7 @@ sub invalid_psgi_responses { my @responses = ( [ [ sub { } ], "an arrayref with a single sub in it" ], [ ["moo"], "an arrayref with a scalar that is not a sub" ], + [ bless( {}, "FauxObject" ), "an object without to_app method" ], ); for my $response ( @responses ) {