summaryrefslogtreecommitdiff
path: root/ext/Encode
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Encode')
-rw-r--r--ext/Encode/t/mime_header_iso2022jp.t10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/Encode/t/mime_header_iso2022jp.t b/ext/Encode/t/mime_header_iso2022jp.t
index f1be86494d..818443a11a 100644
--- a/ext/Encode/t/mime_header_iso2022jp.t
+++ b/ext/Encode/t/mime_header_iso2022jp.t
@@ -1,10 +1,12 @@
use Test::More;
-if( ord("A") == 193 ) {
- plan skip_all => 'No Encode::MIME::Header::ISO_2022_JP on EBCDIC Platforms';
-} else {
- plan tests => 14;
+BEGIN {
+ if( ord("A") == 193 ) {
+ plan skip_all => 'No Encode::MIME::Header::ISO_2022_JP on EBCDIC Platforms';
+ } else {
+ plan tests => 14;
+ }
}
use strict;