Skip to content

Commit b71dffa

Browse files
committed
Fix incorrect awaition of results
Fixes flops on spelling tests
1 parent 08c0b36 commit b71dffa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xt/aspell.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ my %output;
5454

5555
sub test-it($promises) {
5656

57-
my $tasks = await |$promises;
57+
await Promise.allof: |$promises;
58+
my $tasks = $promises».result;
5859
my $file = $tasks[0].command[*-1];
5960

6061
my $count;

0 commit comments

Comments
 (0)