summaryrefslogtreecommitdiff
path: root/t/uni
diff options
context:
space:
mode:
Diffstat (limited to 't/uni')
-rw-r--r--t/uni/fold.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/uni/fold.t b/t/uni/fold.t
index deb47f7017..149573a460 100644
--- a/t/uni/fold.t
+++ b/t/uni/fold.t
@@ -446,7 +446,7 @@ SKIP: {
utf8::upgrade($utf8);
is(fc($latin1), fc($utf8), "fc() gives the same results for \\x{$_} in Latin-1 and UTF-8 under unicode_strings");
SKIP: {
- skip 'No locale testing without d_setlocale', 2 if(!$Config{d_setlocale});
+ skip 'Locales not available', 2 unless locales_enabled('LC_CTYPE');
use locale;
is(fc($latin1), lc($latin1), "use locale; fc(qq{\\x{$_}}), lc(qq{\\x{$_}}) when qq{\\x{$_}} is in latin-1");
is(fc($utf8), lc($utf8), "use locale; fc(qq{\\x{$_}}), lc(qq{\\x{$_}}) when qq{\\x{$_}} is in latin-1");