diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-05-29 20:36:05 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-05-29 20:39:51 -0700 |
commit | 3259388b9b72d07a50fa1de8a5c6c1764a8e7584 (patch) | |
tree | e1a28095bccb5cba5088204b7822e4db7097ec13 /lib/utf8.t | |
parent | 67a53d688ca9c89ddf138af0a4561601b3b778a8 (diff) | |
download | perl-3259388b9b72d07a50fa1de8a5c6c1764a8e7584.tar.gz |
Revert "[perl #91834] utf8::decode does not respect copy-on-write"
This reverts commit 40f11004fb3b5fa1cd207a20090df837d721b736.
Diffstat (limited to 'lib/utf8.t')
-rw-r--r-- | lib/utf8.t | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/utf8.t b/lib/utf8.t index b13bb5377d..ae81ccdc46 100644 --- a/lib/utf8.t +++ b/lib/utf8.t @@ -427,18 +427,6 @@ SKIP: { } { - # Make sure utf8::decode respects copy-on-write [perl #91834]. - # Hash keys are the easiest way to test this. - my $name = "\x{c3}\x{b3}"; - my ($k1) = keys %{ { $name=>undef } }; - my $k2 = $name; - utf8::decode($k1); - utf8::decode($k2); - my $h = { $k1 => 1, $k2 => 2 }; - is join('', keys $h), $k2, 'utf8::decode respects copy-on-write'; -} - -{ my $a = "456\xb6"; utf8::upgrade($a); |