This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3918902
)
charnames.t: Fix erroneous interpolation of \N{}
author
Karl Williamson
<public@khwilliamson.com>
Wed, 24 Oct 2012 15:30:33 +0000
(09:30 -0600)
committer
Karl Williamson
<public@khwilliamson.com>
Wed, 24 Oct 2012 16:45:25 +0000
(10:45 -0600)
This is supposed to print as-is, not interpolate.
lib/charnames.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/charnames.t
b/lib/charnames.t
index
ff94a82
..
a158c9a
100644
(file)
--- a/
lib/charnames.t
+++ b/
lib/charnames.t
@@
-776,7
+776,7
@@
is("\N{U+1D0C5}", "\N{BYZANTINE MUSICAL SYMBOL FTHORA SKLIRON CHROMA VASIS}", 'V
$res .= '-' . ($^H{73174} // "");
$res .= '-2' if ":" =~ /\N{COLON}/;
$res .= '-3' if ":" =~ /\N{COLON}/i;
- is($res, "foo-foo-1--2-3", "Verify %^H doesn't get reset by \N{...}");
+ is($res, "foo-foo-1--2-3", "Verify %^H doesn't get reset by \
\
N{...}");
}
{ use charnames qw(.*);