From: Nicholas Clark Date: Thu, 20 Dec 2007 18:48:09 +0000 (+0000) Subject: The test needs to be on defined $ENV{PERL_UNICODE} because during X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=82c0efa4e83781652347e2d8715e3fc7441c39d4;p=p5sagit%2Fp5-mst-13.2.git The test needs to be on defined $ENV{PERL_UNICODE} because during testing being set to an empty string has meaning. p4raw-id: //depot/perl@32674 --- diff --git a/lib/Test/Harness/t/unicode.t b/lib/Test/Harness/t/unicode.t index b5b767e..3a600b6 100644 --- a/lib/Test/Harness/t/unicode.t +++ b/lib/Test/Harness/t/unicode.t @@ -13,7 +13,7 @@ BEGIN { unless $] > 5.008; plan skip_all => "PERL_UNICODE set" - if $ENV{PERL_UNICODE}; + if defined $ENV{PERL_UNICODE}; eval "use File::Temp"; plan skip_all => "File::Temp unavailable"