Whoops, fix typo
Tomas Doran [Sun, 22 Nov 2009 19:53:00 +0000 (19:53 +0000)]
t/deprecated.t

index 4511552..d9f90e0 100644 (file)
@@ -11,7 +11,7 @@ BEGIN { # Do this at compile time in case we generate a warning when use
         # DeprecatedTestApp
     $SIG{__WARN__} = sub {
         $warnings++ if $_[0] =~ /uses NEXT, which is deprecated/;
-        $warnings++ if $_[0} =~ /trying to use NEXT, which is deprecated/;
+        $warnings++ if $_[0] =~ /trying to use NEXT, which is deprecated/;
     };
 }
 use Catalyst; # Cause catalyst to be used so I can fiddle with the logging.