summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-06-18 16:00:43 -0600
committerKarl Williamson <public@khwilliamson.com>2013-06-18 16:12:49 -0600
commitb79536ea166b1ad79b3c02ab33e1d9f71044b45c (patch)
treee25ffeea3323dfc87eca3390ea077d56d4f8e31a /lib
parent670610ebb17508101065cc5f5ecfe616aace5335 (diff)
downloadperl-b79536ea166b1ad79b3c02ab33e1d9f71044b45c.tar.gz
lib/locale.t: Remove workaround for now fixed #108378
Diffstat (limited to 'lib')
-rw-r--r--lib/locale.t16
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/locale.t b/lib/locale.t
index 580613838d..96f9045323 100644
--- a/lib/locale.t
+++ b/lib/locale.t
@@ -1054,17 +1054,7 @@ foreach $Locale (@Locale) {
{
no locale;
- # The earlier test was $e = "$x". But this fails [perl
- # #108378], and the "no locale" was commented out. But doing
- # that made all the tests in the block after this one
- # meaningless, as originally it was testing the nesting of a
- # "no locale" scope, and how it recovers after that scope is
- # done. So I (khw) filed a bug report and changed this so it
- # wouldn't fail. It seemed too much work to add TODOs
- # instead. Should this be fixed, the following test names
- # would need to be revised; they mostly don't really test
- # anything currently.
- $e = $x;
+ $e = "$x";
$ok6 = $e == 1.23;
$ok7 = $e == $x;
@@ -1107,7 +1097,7 @@ foreach $Locale (@Locale) {
$ok5 = $c == $d;
{
no locale;
- $e = $x;
+ $e = "$x";
$ok6 = $e == 1.23;
$ok7 = $e == $x;
@@ -1148,7 +1138,7 @@ foreach $Locale (@Locale) {
debug "# $first_c_test..$locales_test_number: \$c = $c, \$d = $d, Locale = $Locale\n";
tryneoalpha($Locale, ++$locales_test_number, $ok6);
- $test_names{$locales_test_number} = 'Verify that can assign numerically under inner no-locale block';
+ $test_names{$locales_test_number} = 'Verify that can assign stringified under inner no-locale block';
my $first_e_test = $locales_test_number;
tryneoalpha($Locale, ++$locales_test_number, $ok7);