fixed test fail on windows (/ versus \)
John Napiorkowski [Wed, 7 Jan 2015 15:27:45 +0000 (09:27 -0600)]
t/undef-params.t

index d592606..adb0934 100644 (file)
@@ -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';