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:
f0ccc92
)
t/op/local.t: Unknown RT#, but appears to be fixed. Blame says not edited since 2005.
author
Dan Collins
<dcollinsn@gmail.com>
Sun, 3 Jul 2016 21:06:41 +0000
(17:06 -0400)
committer
Yves Orton
<demerphq@gmail.com>
Fri, 21 Oct 2016 07:09:43 +0000
(09:09 +0200)
t/op/local.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/local.t
b/t/op/local.t
index
fa22126
..
67c2ca1
100644
(file)
--- a/
t/op/local.t
+++ b/
t/op/local.t
@@
-469,8
+469,7
@@
is($h{'c'}, 3);
# local() should preserve the existenceness of tied hash elements
ok(! exists $h{'y'});
ok(! exists $h{'z'});
-TODO: {
- todo_skip("Localize entire tied hash");
+{
my $d = join("\n", map { "$_=>$h{$_}" } sort keys %h);
local %h = %h;
is(join("\n", map { "$_=>$h{$_}" } sort keys %h), $d);