X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fundef-params.t;h=adb09343f3c8733fbc66a2ad1fd7bd7f9bd6b1c8;hb=0c246eea6a68c8c34b267148b6de4435eda36b0f;hp=d5926069ed8e023a3af27e6c36705f81821639e6;hpb=501605db974f1e0ee05bc34fe1060c765001bb77;p=catagits%2FCatalyst-Runtime.git diff --git a/t/undef-params.t b/t/undef-params.t index d592606..adb0934 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 at t.undef-params.t]) unless MyApp->debug; }; - MyApp->setup, 'setup app'; + MyApp->setup; } ok my $psgi = MyApp->psgi_app, 'build psgi app';