diff options
Diffstat (limited to 'lib/version')
-rw-r--r-- | lib/version/t/07locale.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/version/t/07locale.t b/lib/version/t/07locale.t index 01b51a7e73..a2005f8a92 100644 --- a/lib/version/t/07locale.t +++ b/lib/version/t/07locale.t @@ -8,6 +8,7 @@ use File::Basename; use File::Temp qw/tempfile/; use POSIX qw/locale_h/; use Test::More tests => 7; +use Config; BEGIN { use_ok('version', 0.9901); @@ -15,6 +16,7 @@ BEGIN { SKIP: { skip 'No locale testing for Perl < 5.6.0', 6 if $] < 5.006; + skip 'No locale testing without d_setlocale', 6 if(!$Config{d_setlocale}); # test locale handling my $warning; local $SIG{__WARN__} = sub { $warning = $_[0] }; |