diff options
Diffstat (limited to 't/op/chdir.t')
-rw-r--r-- | t/op/chdir.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/op/chdir.t b/t/op/chdir.t index af13e80518..b44cd6f665 100644 --- a/t/op/chdir.t +++ b/t/op/chdir.t @@ -2,9 +2,11 @@ BEGIN { # We're not going to chdir() into 't' because we don't know if # chdir() works! Instead, we'll hedge our bets and put both # possibilities into @INC. - @INC = ('lib', '../lib'); + @INC = qw(t . lib ../lib); } +require "test.pl"; +plan(tests => 25); # Might be a little early in the testing process to start using these, # but I can't think of a way to write this test without them. @@ -16,8 +18,6 @@ sub abs_path { rel2abs(curdir); } -use Test::More tests => 25; - my $cwd = abs_path; # Let's get to a known position |