diff --git a/tests/ErrorHandlingTest.php b/tests/ErrorHandlingTest.php index 75f62076..c120e267 100644 --- a/tests/ErrorHandlingTest.php +++ b/tests/ErrorHandlingTest.php @@ -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 */ @@ -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 */ @@ -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()); });