projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
19b1ef0
)
add test for to_app-less object as invalid psgi response, completing coverage of...
Christian Walde [Fri, 22 Nov 2013 13:58:05 +0000 (14:58 +0100)]
t/dispatch_misc.t
patch
|
blob
|
blame
|
history
diff --git
a/t/dispatch_misc.t
b/t/dispatch_misc.t
index
6941513
..
3876e00
100644
(file)
--- 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 ) {