projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d5fc3e7
)
Ambiguous test cases may be hazardous to your health.
Steve Peters [Wed, 2 Nov 2005 04:59:47 +0000 (
04:59
+0000)]
p4raw-id: //depot/perl@25950
t/op/list.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/list.t
b/t/op/list.t
index
d655f6b
..
cdf8cdd
100755
(executable)
--- a/
t/op/list.t
+++ b/
t/op/list.t
@@
-96,7
+96,7
@@
for ($x = 0; $x < 3; $x++) {
print "not " if join(':',@b) ne '30:';
print "ok 30\n";
- my @d = ()[1..1];
- print "not " if @d != undef;
+ my $size = scalar(()[1..1]);
+ print "not " if $size != 0;
print "ok 31\n";
}