X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fundef-params.t;h=24b23cc6025660769e0bc3dbe358c1d1e37cf899;hp=d5926069ed8e023a3af27e6c36705f81821639e6;hb=fbd5d4fa65e4e10dd160ae5637e4b94a5b0d54f4;hpb=501605db974f1e0ee05bc34fe1060c765001bb77 diff --git a/t/undef-params.t b/t/undef-params.t index d592606..24b23cc 100644 --- a/t/undef-params.t +++ b/t/undef-params.t @@ -33,11 +33,11 @@ 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::like($error, qr[You called ->params with an undefined value]) unless MyApp->debug; }; - MyApp->setup, 'setup app'; + MyApp->setup; } ok my $psgi = MyApp->psgi_app, 'build psgi app';