X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcharnames.t;h=d0139070cf01be08de9c7c2fe981a3cfcbad239c;hb=cd4eab350f31b452f88e849e0c9d1309692f544f;hp=efb66082b64ae18ece0c3226e2da84ac91c73486;hpb=c776535e348e455bd9563b0f236d485a934456e7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/charnames.t b/lib/charnames.t index efb6608..d013907 100644 --- a/lib/charnames.t +++ b/lib/charnames.t @@ -15,7 +15,7 @@ require File::Spec; $| = 1; -print "1..76\n"; +print "1..78\n"; use charnames ':full'; @@ -349,6 +349,15 @@ if (ord('A') == 65) { # as on ASCII or UTF-8 machines print "ok 76\n"; } +# Verify that charnames propagate to eval("") +my $evaltry = eval q[ "Eval: \N{LEFT-POINTING DOUBLE ANGLE QUOTATION MARK}" ]; +if ($@) { + print "# $@not ok 77\nnot ok 78\n"; +} else { + print "ok 77\n"; + print "not " unless $evaltry eq "Eval: \N{LEFT-POINTING DOUBLE ANGLE QUOTATION MARK}"; + print "ok 78\n"; +} __END__ # unsupported pragma