add test for to_app-less object as invalid psgi response, completing coverage of...
[catagits/Web-Simple.git] / t / dispatch_misc.t
index 6941513..3876e00 100644 (file)
@@ -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 ) {