This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lib/locale.t: Don't test locales without LC_NUMERIC
[perl5.git] / lib / locale.t
index 2c868f3..d01b8d7 100644 (file)
@@ -703,7 +703,7 @@ debug "# Scanning for locales...\n";
 
 require POSIX; import POSIX ':locale_h';
 
-my @Locale = find_locales([ &POSIX::LC_CTYPE, &POSIX::LC_ALL ]);
+my @Locale = find_locales([ &POSIX::LC_CTYPE, &POSIX::LC_NUMERIC, &POSIX::LC_ALL ]);
 
 debug "# Locales =\n";
 for ( @Locale ) {