summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-18 09:32:41 +0100
committerYves Orton <demerphq@gmail.com>2023-03-18 09:33:05 +0100
commit518846582427d7105e0c07610c06a78a5e77b08c (patch)
treecaeaa7e8a6f317dc0b79529d93100baa5b1466aa /t
parent9c8c3ea487563d931db8bd7f4cc70345eb4e59f1 (diff)
downloadperl-518846582427d7105e0c07610c06a78a5e77b08c.tar.gz
t/TEST - chomp manifest during read
If we chomp we return 2177 tests, if we don't we return 1808 tests.
Diffstat (limited to 't')
-rwxr-xr-xt/TEST3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/TEST b/t/TEST
index 1dee698272..cf131ae3cc 100755
--- a/t/TEST
+++ b/t/TEST
@@ -410,8 +410,9 @@ sub _tests_from_manifest {
my $mani = '../MANIFEST';
if (open(MANI, $mani)) {
while (<MANI>) {
+ chomp;
my ($file)= split /\t/, $_;
- if ($file=~m!^((?:cpan|dist|ext)/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\z!) {
+ if ($file =~ m!^((?:cpan|dist|ext)/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\z!) {
my $t = $1;
my $extension = $2;