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:
6c0c4c6
)
t/op/override.t: Generalize for non-ASCII platforms
author
Karl Williamson
<khw@cpan.org>
Fri, 17 Oct 2014 02:50:29 +0000
(20:50 -0600)
committer
Karl Williamson
<khw@cpan.org>
Fri, 6 Mar 2015 04:48:27 +0000
(21:48 -0700)
t/op/override.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/override.t
b/t/op/override.t
index
ead2606
..
ff43571
100644
(file)
--- a/
t/op/override.t
+++ b/
t/op/override.t
@@
-184,7
+184,7
@@
like runperl(prog => 'use constant foo=>1; '
is runperl(prog => 'use constant t=>42; '
.'BEGIN { *{q|CORE::GLOBAL::time|} = \&{q|t|};1}'
- .'print time, chr
10
',
+ .'print time, chr
utf8::unicode_to_native(10)
',
stderr => 1),
"42\n",
'keywords respect global constant overrides';