We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0c4a7a commit 25cf5a5Copy full SHA for 25cf5a5
S16-io/words.t
@@ -187,14 +187,14 @@ subtest "\$limit arg (IO::Path method)" => { plan 5;
187
188
# we spin up another perl6 and do 1500 x 2 .words calls; if the handle
189
# isn't closed; we can expect some errors to show up in the output
190
-is_run 「my @words; with 」 ~ $file.perl ~ 「 {
+is_run 「my $i = 0; my @words; with 」 ~ $file.perl ~ 「 {
191
loop {
192
- last if $++ > 1500;
+ last if ++$i > 1500;
193
@words.append: .words;
194
- @words.append: .words(2)
+ @words.append: .words(2);
195
}
196
- } 」,
197
- {:err(''), :out(''), :0status},
+ }; print "all ok $i"」,
+ {:err(''), :out('all ok 1501'), :0status},
198
'heuristic for testing whether handle is closed';
199
200
{
0 commit comments