Skip to content

Commit

Permalink
missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 2, 2018
1 parent 28a46cf commit 2805295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojo/delay.t
Expand Up @@ -11,7 +11,7 @@ my $delay = Mojo::IOLoop::Delay->new->then(sub {@_});
my $delay2 = Mojo::IOLoop::Delay->new->then(sub {@_});
my $delay3 = Mojo::IOLoop::Delay->new->then(sub {@_});
my @results;
$delay->all($delay2, $delay3)->then(sub { @results = @_ });
Mojo::Promise->all($delay, $delay2, $delay3)->then(sub { @results = @_ });
$delay2->resolve('second');
$delay3->resolve('third');
$delay->resolve('first');
Expand Down

0 comments on commit 2805295

Please sign in to comment.