Subject: | [PATCH] t/09-error.t fails on bleadperl |
When testing Text::Template with bleadperl, t/09_error.t fails a test.
The following patch fixes the test and it passes with 5.8.8 and bleadperl.
--- t/09-error.t.old 2006-11-25 20:32:20.000000000 -0600
+++ t/09-error.t 2006-11-25 20:31:15.000000000 -0600
@@ -40,7 +40,7 @@
eval {
Text::Template->new(TYPE => 'wlunch', SOURCE => 'fish food');
};
-if ($@ =~ /^\QIllegal value \`WLUNCH\' for TYPE parameter/) {
+if ($@ =~ /^\QIllegal value `WLUNCH' for TYPE parameter/) {
print "ok $n\n";
} else {
print STDERR $@;