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=a7713c3d6d9225ed390bcda6825c5d901e301af2;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';