X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fpsgi-log.t;h=91a36dcd6d7deab93e331db31da713dbf175e631;hp=56b9dade0392c8f248464f5c149d79e11874e4df;hb=c2eac008b6f566090128f60259a6cc8fee720298;hpb=310c2a39c86dc3f8a1dd0bb80c2543e809e2cb3c diff --git a/t/psgi-log.t b/t/psgi-log.t index 56b9dad..91a36dc 100644 --- a/t/psgi-log.t +++ b/t/psgi-log.t @@ -72,7 +72,7 @@ my $cmp = TestApp->debug ? '>=' : '=='; my $res = $cb->(GET "/log/info"); my @logs = $handle->logs; cmp_ok(scalar(@logs), $cmp, 1, "psgi.errors: one event output"); - like($logs[0], qr/info$/m, "psgi.errors: event matches test data"); + like($logs[0], qr/info$/m, "psgi.errors: event matches test data") unless TestApp->debug; }; };