diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-07-01 11:13:34 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-07-01 12:08:50 +0100 |
commit | 619d9e9c6b00e1f508864cfeb08ecc3ba0aa6237 (patch) | |
tree | 3b931953eba1e51acfb5b1b1989e22240e3c8dde /t | |
parent | bd3fc147b26516ab1045db127705986acf92a6f4 (diff) | |
download | perl-619d9e9c6b00e1f508864cfeb08ecc3ba0aa6237.tar.gz |
Convert strict.t to use t/lib/common.pl
Diffstat (limited to 't')
-rw-r--r-- | t/lib/common.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib/common.pl b/t/lib/common.pl index 8680b73328..9167323494 100644 --- a/t/lib/common.pl +++ b/t/lib/common.pl @@ -1,4 +1,4 @@ -# This code is used by lib/warnings.t and lib/feature.t +# This code is used by lib/feature.t, lib/strict.t and lib/warnings.t BEGIN { require './test.pl'; @@ -50,7 +50,7 @@ foreach my $file (@w_files) { undef $/; -plan tests => (scalar(@prgs)-$files); +plan tests => (scalar(@prgs)-$files + ($::local_tests || 0)); for (@prgs){ unless (/\n/) |