summaryrefslogtreecommitdiff
path: root/lib/Tie
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-04 01:06:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-04 01:06:53 +0000
commit6c6138478e8a64e245418ecd761aec9bc8d89ae1 (patch)
tree0a413a6fefcf72960a19a9172445080251c0c066 /lib/Tie
parent7b6b3db1ec99414fb825aa173100ce08654f405e (diff)
downloadperl-6c6138478e8a64e245418ecd761aec9bc8d89ae1.tar.gz
Test tweak from Craig Berry.
p4raw-id: //depot/perl@14971
Diffstat (limited to 'lib/Tie')
-rw-r--r--lib/Tie/File/t/15_pushpop.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Tie/File/t/15_pushpop.t b/lib/Tie/File/t/15_pushpop.t
index 79af19a7d5..e57764b5bf 100644
--- a/lib/Tie/File/t/15_pushpop.t
+++ b/lib/Tie/File/t/15_pushpop.t
@@ -40,7 +40,7 @@ print $n == 5 ? "ok $N\n" : "not ok $N # size is $n, should be 5\n";
$N++;
# Trivial push
-$n = push @a;
+$n = push(@a, ());
check_contents("$ {data}rec3$/rec4$/");
print $n == 5 ? "ok $N\n" : "not ok $N # size is $n, should be 5\n";
$N++;
@@ -76,7 +76,7 @@ print $n == 5 ? "ok $N\n" : "not ok $N # size is $n, should be 5\n";
$N++;
# Trivial unshift
-$n = unshift @a;
+$n = unshift(@a, ());
check_contents("rec3$/rec4$/$data");
print $n == 5 ? "ok $N\n" : "not ok $N # size is $n, should be 5\n";
$N++;