From 00bf9cf19aa02bb6ab6eef94e16235ecb2fd2ba3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 28 Sep 2012 10:10:52 -0500 Subject: add some diagnostics to this test --- t/multi_read.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/multi_read.t b/t/multi_read.t index a4c8403..c68a509 100644 --- a/t/multi_read.t +++ b/t/multi_read.t @@ -21,7 +21,8 @@ my $app = sub { test_psgi $app, sub { my $cb = shift; my $res = $cb->(POST "/", { foo => "bar" }); - ok $res->is_success; + ok($res->is_success) + || diag($res->status_line . "\n" . $res->content); }; done_testing; -- cgit v1.2.3-54-g00ecf