X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fundef-params.t;h=d5926069ed8e023a3af27e6c36705f81821639e6;hb=566678d0245e49d7f2f1abce553b5bdb87879086;hp=a6d7594ab88600c1b3e12997f38e918bd29fb2b7;hpb=235d641ef0d52e9a9e78dd5cf8fffb47d4d9e7b7;p=catagits%2FCatalyst-Runtime.git diff --git a/t/undef-params.t b/t/undef-params.t index a6d7594..d592606 100644 --- a/t/undef-params.t +++ b/t/undef-params.t @@ -33,7 +33,8 @@ use Plack::Test; $SIG{__WARN__} = sub { my $error = shift; - Test::More::is($error, "You called ->params with an undefined value at t/undef-params.t line 20.\n"); + Test::More::is($error, "You called ->params with an undefined value at t/undef-params.t line 20.\n") + unless MyApp->debug; }; MyApp->setup, 'setup app';