}
}
- next unless defined $locale;
+ if (defined $locale) {
use locale;
$ret = truth eval "test_is${function}_LC($i)";
my $truth = truth($matches && $i < 128);
is ($ret, $truth, "is${function}_LC( $display_name ) == $truth");
}
+ }
}
$ret = truth eval "test_is${function}_uni($i)";
is ($ret, $matches, "is${function}_utf8( $display_name ) == $matches");
}
- next if $name eq 'vertws' || ! defined $locale;
+ if ($name ne 'vertws' && defined $locale) {
use locale;
$ret = truth eval "test_is${function}_LC_utf8('$char')";
my $truth = truth($matches && ($i < 128 || $i > 255));
is ($ret, $truth, "is${function}_LC_utf8( $display_name ) == $truth");
}
+ }
}
}