summaryrefslogtreecommitdiff
path: root/t/test.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-05-02 12:02:32 +0000
committerNicholas Clark <nick@ccl4.org>2006-05-02 12:02:32 +0000
commit178eff928e12522422417310bee9331fccc184cf (patch)
tree69c517693ee978abae56f7e8a4f5cacb553b6c6b /t/test.pl
parent128165928a7fa68e9b3adbdf3695141c97adb115 (diff)
downloadperl-178eff928e12522422417310bee9331fccc184cf.tar.gz
Change 28037 broke t/op/each.t when running with TEST.
p4raw-id: //depot/perl@28059
Diffstat (limited to 't/test.pl')
-rw-r--r--t/test.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test.pl b/t/test.pl
index 1562854056..495a93dbf2 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -294,7 +294,9 @@ sub curr_test {
}
sub next_test {
+ my $retval = $test;
$test = $test + 1; # don't use ++
+ $retval;
}
# Note: can't pass multipart messages since we try to