diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-18 09:32:41 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-18 09:33:05 +0100 |
commit | 518846582427d7105e0c07610c06a78a5e77b08c (patch) | |
tree | caeaa7e8a6f317dc0b79529d93100baa5b1466aa /t | |
parent | 9c8c3ea487563d931db8bd7f4cc70345eb4e59f1 (diff) | |
download | perl-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-x | t/TEST | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |