aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/002goodperl.t2
-rw-r--r--t/003safesys.t2
-rw-r--r--t/004template.t2
-rw-r--r--t/005whitespace.t2
-rw-r--r--t/006spellcheck.t2
-rw-r--r--t/007util.t2
-rw-r--r--t/009bugwords.t2
-rw-r--r--t/010dependencies.t2
-rw-r--r--t/011pod.t2
9 files changed, 9 insertions, 9 deletions
diff --git a/t/002goodperl.t b/t/002goodperl.t
index d1858361f..8fcd1a343 100644
--- a/t/002goodperl.t
+++ b/t/002goodperl.t
@@ -14,7 +14,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. lib t);
use Support::Files;
diff --git a/t/003safesys.t b/t/003safesys.t
index 443f96415..e1d04bed8 100644
--- a/t/003safesys.t
+++ b/t/003safesys.t
@@ -14,7 +14,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. lib t);
use Support::Files;
diff --git a/t/004template.t b/t/004template.t
index 0a6f0e0aa..760d39ac8 100644
--- a/t/004template.t
+++ b/t/004template.t
@@ -13,7 +13,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. lib t);
use Support::Templates;
diff --git a/t/005whitespace.t b/t/005whitespace.t
index b6de8cee3..b7f10cae2 100644
--- a/t/005whitespace.t
+++ b/t/005whitespace.t
@@ -13,7 +13,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. lib t);
use Support::Files;
use Support::Templates;
diff --git a/t/006spellcheck.t b/t/006spellcheck.t
index 24e00242d..ea298c5f6 100644
--- a/t/006spellcheck.t
+++ b/t/006spellcheck.t
@@ -14,7 +14,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. lib t);
use Support::Files;
# -1 because 006spellcheck.t must not be checked.
diff --git a/t/007util.t b/t/007util.t
index 66c2df032..6f5ea8b72 100644
--- a/t/007util.t
+++ b/t/007util.t
@@ -13,7 +13,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. lib t);
use Support::Files;
use Test::More tests => 17;
use DateTime;
diff --git a/t/009bugwords.t b/t/009bugwords.t
index e36651edb..5b0bf1f94 100644
--- a/t/009bugwords.t
+++ b/t/009bugwords.t
@@ -19,7 +19,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. t lib);
use Support::Files;
use Support::Templates;
diff --git a/t/010dependencies.t b/t/010dependencies.t
index afd29a652..e0e990172 100644
--- a/t/010dependencies.t
+++ b/t/010dependencies.t
@@ -69,7 +69,7 @@ foreach my $module (keys %mods) {
$used =~ s#/#::#g;
$used =~ s#\.pm$##;
$used =~ s#\$module#[^:]+#;
- $used =~ s#\${[^}]+}#[^:]+#;
+ $used =~ s#\$\{[^}]+\}#[^:]+#;
$used =~ s#[" ]##g;
push(@use, grep(/^\Q$used\E$/, keys %mods));
}
diff --git a/t/011pod.t b/t/011pod.t
index 8a7f374ce..fd37faa7c 100644
--- a/t/011pod.t
+++ b/t/011pod.t
@@ -14,7 +14,7 @@ use 5.10.1;
use strict;
use warnings;
-use lib 't';
+use lib qw(. lib t);
use Support::Files;
use Pod::Checker;