summaryrefslogtreecommitdiff
path: root/t/op/array.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/array.t')
-rwxr-xr-xt/op/array.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/array.t b/t/op/array.t
index 089fb5528e..ed471b4c4d 100755
--- a/t/op/array.t
+++ b/t/op/array.t
@@ -23,9 +23,9 @@ if (join('',@ary) eq '1234') {print "ok 8\n";} else {print "not ok 8\n";}
if ($ary[5] eq '') {print "ok 9\n";} else {print "not ok 9\n";}
-$#ary += 1; # see if we can recover element 5
+$#ary += 1; # see if element 5 gone for good
if ($#ary == 5) {print "ok 10\n";} else {print "not ok 10\n";}
-if ($ary[5] == 5) {print "ok 11\n";} else {print "not ok 11\n";}
+if (defined $ary[5]) {print "not ok 11\n";} else {print "ok 11\n";}
$[ = 0;
@foo = ();