We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e86e2f8 commit 51c70feCopy full SHA for 51c70fe
t/run/locale.t
@@ -584,12 +584,12 @@ else {
584
EOF
585
}
586
587
+@locales = find_locales( [ qw(LC_CTYPE LC_COLLATE) ] );
588
+my ($utf8_ref, $non_utf8_ref) = classify_locales_wrt_utf8ness(\@locales);
589
+my @non_utf8_locales = grep { $_ !~ / \b C \b | POSIX /x } $non_utf8_ref->@*;
590
+
591
SKIP:
592
{
- my @locales = find_locales( [ qw(LC_CTYPE LC_COLLATE) ] );
- my (undef, $non_utf8_ref) = classify_locales_wrt_utf8ness(\@locales);
- my @non_utf8_locales = grep { $_ !~ / \b C \b | POSIX /x }
- $non_utf8_ref->@*;
593
skip "didn't find a suitable non-UTF-8 locale", 1 unless
594
@non_utf8_locales;
595
my $locale = $non_utf8_locales[0];
0 commit comments