X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fdeprecated.t;h=d9f90e0c5eeaa4cc694e739123f7260aa755466a;hp=45115520dae51b3412a460d0f55730be75350cfd;hb=12c73fb2e35081e1f9a3040f5c0789aacbfd08ea;hpb=2e7251d396f451521786ce6722b3862850a394a5 diff --git a/t/deprecated.t b/t/deprecated.t index 4511552..d9f90e0 100644 --- a/t/deprecated.t +++ b/t/deprecated.t @@ -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.