fold_grind.t: Use LC_CTYPE, not LC_ALL
authorKarl Williamson <public@khwilliamson.com>
Fri, 24 Jan 2014 21:35:37 +0000 (14:35 -0700)
committerKarl Williamson <public@khwilliamson.com>
Mon, 27 Jan 2014 18:07:18 +0000 (11:07 -0700)
We are testing here just LC_CTYPE, so is better to use just that
category.

t/re/fold_grind.t

index 275f0e2..57c61bd 100644 (file)
@@ -413,7 +413,7 @@ sub pairs (@) {
 
 my @charsets = qw(d u a aa);
 if($Config{d_setlocale}) {
-    my $current_locale = POSIX::setlocale( &POSIX::LC_ALL, "C") // "";
+    my $current_locale = POSIX::setlocale( &POSIX::LC_CTYPE, "C") // "";
     if ($current_locale eq 'C') {
         require locale; import locale;