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=501605db974f1e0ee05bc34fe1060c765001bb77;hpb=bd4b086b23987a3f29bfc16d1a64b03c45a02884 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; }; };