diff options
author | Karl Williamson <khw@cpan.org> | 2016-10-23 21:27:33 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-10-26 12:14:06 -0600 |
commit | 2c6c88ec63f27f7733250293ba1c0b4621f88bce (patch) | |
tree | be78c9219e4a45c05173b957d87b7845cd3a7ca8 /ext/POSIX | |
parent | 9c5fc553bd49285d24109379b377238e40f4a510 (diff) | |
download | perl-2c6c88ec63f27f7733250293ba1c0b4621f88bce.tar.gz |
t/loc_tools.pl: Complement sense of optional parameter
Most often we want to only look at locales that are compatible with
Perl. Make that the default for the optional parameter.
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/t/wrappers.t | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/POSIX/t/wrappers.t b/ext/POSIX/t/wrappers.t index f09b92595f..2be966061d 100644 --- a/ext/POSIX/t/wrappers.t +++ b/ext/POSIX/t/wrappers.t @@ -28,9 +28,7 @@ if (locales_enabled('LC_MESSAGES')) { local $! = 1; my $english_message = "$!"; # Should be C locale since not in scope of # "use locale" - for $non_english_locale (find_locales(&POSIX::LC_MESSAGES, - 'reasonable_locales_only')) - { + for $non_english_locale (find_locales(&POSIX::LC_MESSAGES)) { use locale; setlocale(&POSIX::LC_MESSAGES, $non_english_locale); $! = 1; |