summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb@gnu.org>2023-02-08 23:30:00 -0600
committerPaul Eggert <eggert@cs.ucla.edu>2023-03-29 12:49:52 -0700
commit794464f07fc068e4be34aca05a1a6ab8c3a67288 (patch)
treead3839baa035e7568bd1b0a000cb2cdbc33ff70a
parent62b3ff7b2c41b4a7e15f4677d7a9fb9c9f1d8360 (diff)
downloadautomake-794464f07fc068e4be34aca05a1a6ab8c3a67288.tar.gz
Remove parentheses around test argument lists
This works around a parser bug in Perl 5.6.2. * t/pm/General.pl: Remove parentheses on argument lists. Copyright-paperwork-exempt: yes
-rw-r--r--t/pm/General.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/pm/General.pl b/t/pm/General.pl
index bb99fce83..fafedbc46 100644
--- a/t/pm/General.pl
+++ b/t/pm/General.pl
@@ -18,10 +18,10 @@ use Automake::General;
my $failed = 0;
# Check 'none'.
-my $none_positive = none { $_[0] < 0 } (1, 7, 3, 8, 9);
+my $none_positive = none { $_[0] < 0 } 1, 7, 3, 8, 9;
$failed = 1 if ($none_positive == 0);
-my $none_gt_8 = none { $_[0] >= 8 } (1, 7, 3, 8, 9);
+my $none_gt_8 = none { $_[0] >= 8 } 1, 7, 3, 8, 9;
$failed = 1 if ($none_gt_8 == 1);
exit $failed;