diff options
author | Dave Miller <github@justdave.net> | 2022-09-10 16:30:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-10 13:30:53 -0700 |
commit | b9244bd1fa389ff2bfc1a3b70a7db5589f1366a3 (patch) | |
tree | 6f8dbbf443f4c482f3473f583094e31ce3c82c51 /t | |
parent | 1f505160b5288243c26355c3177025dba2cc2317 (diff) | |
download | bugs-b9244bd1fa389ff2bfc1a3b70a7db5589f1366a3.tar bugs-b9244bd1fa389ff2bfc1a3b70a7db5589f1366a3.tar.gz bugs-b9244bd1fa389ff2bfc1a3b70a7db5589f1366a3.tar.bz2 bugs-b9244bd1fa389ff2bfc1a3b70a7db5589f1366a3.tar.xz bugs-b9244bd1fa389ff2bfc1a3b70a7db5589f1366a3.zip |
Bug 1785938: Make tests work in GHA on 5.0.4 branch (#111)
* Add GHA tests on 5.0.4 branch
* fix new perl compat in tests
Diffstat (limited to 't')
-rw-r--r-- | t/002goodperl.t | 2 | ||||
-rw-r--r-- | t/003safesys.t | 2 | ||||
-rw-r--r-- | t/004template.t | 2 | ||||
-rw-r--r-- | t/005whitespace.t | 2 | ||||
-rw-r--r-- | t/006spellcheck.t | 2 | ||||
-rw-r--r-- | t/007util.t | 2 | ||||
-rw-r--r-- | t/009bugwords.t | 2 | ||||
-rw-r--r-- | t/010dependencies.t | 2 | ||||
-rw-r--r-- | t/011pod.t | 2 |
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; |