Skip to content

Commit

Permalink
Fixed code style following StyleCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
vuongxuongminh committed Jun 12, 2019
1 parent 9750ae2 commit f87c335
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/ErrorHandlingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function it_can_handle_exceptions_via_catch_callback()

$pool->wait();

$this->assertCount(5, $pool->getFailed(), (string)$pool->status());
$this->assertCount(5, $pool->getFailed(), (string) $pool->status());
}

/** @test */
Expand Down Expand Up @@ -63,7 +63,7 @@ public function it_can_handle_typed_exceptions_via_catch_callback()
$this->assertEquals(5, $myExceptionCount);
$this->assertEquals(0, $otherExceptionCount);
$this->assertEquals(0, $exceptionCount);
$this->assertCount(5, $pool->getFailed(), (string)$pool->status());
$this->assertCount(5, $pool->getFailed(), (string) $pool->status());
}

/** @test */
Expand Down Expand Up @@ -150,7 +150,6 @@ public function it_can_handle_synchronous_exception()
$pool->add(function () {
throw new MyException('test');
})->catch(function (MyException $e) {

$this->assertRegExp('/test/', $e->getMessage());
});

Expand Down

0 comments on commit f87c335

Please sign in to comment.