projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Comment tweak.
[p5sagit/p5-mst-13.2.git]
/
t
/
cmd
/
for.t
diff --git
a/t/cmd/for.t
b/t/cmd/for.t
index
90b5ff0
..
3275c71
100755
(executable)
--- a/
t/cmd/for.t
+++ b/
t/cmd/for.t
@@
-1,6
+1,6
@@
#!./perl
-print "1..11\n";
+print "1..12\n";
for ($i = 0; $i <= 10; $i++) {
$x[$i] = $i;
@@
-66,3
+66,8
@@
foreach $b (bar()) {
}
print $a == 7 ? "ok" : "not ok", " 11\n";
+$loop_count = 0;
+for ("-3" .. "0") {
+ $loop_count++;
+}
+print $loop_count == 4 ? "ok" : "not ok", " 12\n";