X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fbase%2Flex.t;h=f45e56cdf7f71016957e49652d8c0c4a2e351b6e;hb=3d66076ad00dfe06380fb774b92fb59dc07fe4ec;hp=464e68bb89bcffdf81843866115513aa8b57b90d;hpb=1a9b3510845e2cb6cf6cf76ef71e4c5a6d9d3b67;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/base/lex.t b/t/base/lex.t index 464e68b..f45e56c 100755 --- a/t/base/lex.t +++ b/t/base/lex.t @@ -1,6 +1,6 @@ #!./perl -print "1..55\n"; +print "1..56\n"; $x = 'x'; @@ -263,3 +263,7 @@ print ((exists $str{xyz::bar} ? "" : "not ")."ok $test\n"); ++$test; sub foo::::::bar { print "ok $test\n"; $test++ } foo::::::bar; + +eval "\$x =\xE2foo"; +if ($@ =~ /Unrecognized character \\xE2 in column 5/) { print "ok $test\n"; } else { print "not ok $test\n"; } +$test++;