summaryrefslogtreecommitdiff
path: root/ext/re/re.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/re/re.t')
-rw-r--r--ext/re/re.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/re/re.t b/ext/re/re.t
index ff3a3c51e9..1a8f278566 100644
--- a/ext/re/re.t
+++ b/ext/re/re.t
@@ -1,12 +1,12 @@
#!./perl
-use strict;
-
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
}
+use strict;
+
use Test::More tests => 13;
require_ok( 're' );
@@ -31,7 +31,7 @@ like( $warn, qr/Useless use/, 'bits() should warn with no args' );
delete $ENV{PERL_RE_COLORS};
re::bits(0, 'debug');
-is( $ENV{PERL_RE_COLORS}, '',
+is( $ENV{PERL_RE_COLORS}, undef,
"... should not set regex colors given 'debug'" );
re::bits(0, 'debugcolor');
isnt( $ENV{PERL_RE_COLORS}, '',