However, it doesn't actually produce any output due to a known core
bug: http://rt.cpan.org/Ticket/Display.html?id=28345
(But the test count in the plan saves our bacon by alerting us)
p4raw-id: //depot/perl@31649
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;