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