Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix incorrect awaition of results
Fixes flops on spelling tests
  • Loading branch information
zoffixznet committed Dec 20, 2017
1 parent 08c0b36 commit b71dffa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xt/aspell.t
Expand Up @@ -54,7 +54,8 @@ my %output;

sub test-it($promises) {

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

my $count;
Expand Down

1 comment on commit b71dffa

@zoffixznet
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

N.B.: the awaition was actually correct, but was hitting a bug in Rakudo's &await impl.

Please sign in to comment.