diff options
Diffstat (limited to 't/uni/parser.t')
-rw-r--r-- | t/uni/parser.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/uni/parser.t b/t/uni/parser.t index e67871e944..256864cb80 100644 --- a/t/uni/parser.t +++ b/t/uni/parser.t @@ -7,7 +7,7 @@ BEGIN { require './test.pl'; } -plan (tests => 44); +plan (tests => 45); use utf8; use open qw( :utf8 :std ); @@ -132,3 +132,9 @@ is ${"main::\345\225\217"}, undef, "..and using the encoded form doesn't"; like $@, qr!"$_" variable \$::\x{30cb} can't be in a package!, qq!'"$_" variable %s can't be in a package' is UTF-8 clean!; } } + +{ + local $@; + eval qq!print \x{30cb}, "comma""!; + like $@, qr/No comma allowed after filehandle/, "No comma allowed after filehandle triggers correctly for UTF-8 filehandles."; +} |