diff options
author | Karl Williamson <khw@cpan.org> | 2014-11-26 11:41:18 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-12-11 11:28:30 -0700 |
commit | b2d1ac42bedd37f33bf51560cc326f6c2c1b0202 (patch) | |
tree | 0030ddf44f9087b3392e70f67bdace3ab89c0a1a /ext/PerlIO-encoding | |
parent | 96cfa1df465e71dba7e2099fc37db1b569d300b4 (diff) | |
download | perl-b2d1ac42bedd37f33bf51560cc326f6c2c1b0202.tar.gz |
PerlIO::encoding:fallback.t: properly skip tests
My moving the 'use Test::More' outside of the BEGIN block, I don't get
the 'duplicate leader seen' error.
Diffstat (limited to 'ext/PerlIO-encoding')
-rw-r--r-- | ext/PerlIO-encoding/t/fallback.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/PerlIO-encoding/t/fallback.t b/ext/PerlIO-encoding/t/fallback.t index 450feb854e..17c241c17a 100644 --- a/ext/PerlIO-encoding/t/fallback.t +++ b/ext/PerlIO-encoding/t/fallback.t @@ -13,10 +13,11 @@ BEGIN { print "1..0 # Skip: No Encode\n"; exit 0; } - use Test::More tests => 9; import Encode qw(:fallback_all); } +use Test::More tests => 9; + # $PerlIO::encoding = 0; # WARN_ON_ERR|PERLQQ; my $file = "fallback$$.txt"; |