Skip to content

Commit

Permalink
two processes are enough
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 15, 2017
1 parent 15be7c7 commit 97de3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/mojo/subprocess.t
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ is_deeply $result, [], 'right structure';
($fail, $result) = ();
my $delay = Mojo::IOLoop->delay;
my $me = $$;
for (0 .. 2) {
for (0 .. 1) {
my $end = $delay->begin;
my $subprocess = Mojo::IOLoop::Subprocess->new;
$subprocess->run(
Expand All @@ -127,7 +127,7 @@ for (0 .. 2) {
}
$delay->wait;
ok !$fail, 'no error';
is_deeply $result, [2, 2, 2], 'right structure';
is_deeply $result, [2, 2], 'right structure';

# Exception
$fail = undef;
Expand Down

0 comments on commit 97de3e0

Please sign in to comment.