use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More tests => 4;;
+
use local::lib ();
use strict;
use warnings;
-use Test::More;
+use Test::More tests => 2;
use File::Temp qw(tempdir);
use Cwd;
# Test that refs in @INC don't get mangled.
-plan tests => 2;
my $dir = tempdir('test_local_lib-XXXXX', DIR => Cwd::abs_path('t'), CLEANUP => 1);
use strict;
use warnings;
-use Test::More;
+use Test::More tests => 2;
+
use File::Temp qw(tempdir);
use Cwd;
-plan tests => 2;
-
my $dir = tempdir('test_local_lib-XXXXX', DIR => Cwd::abs_path('t'), CLEANUP => 1);
use local::lib ();
use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More tests => 1;
+
use local::lib ();
{
#!/usr/bin/perl -w
-use Test::More;
-
-plan qw/no_plan/;
+use Test::More tests => 1;
use File::Spec;
use Cwd;