Skip to content

Commit

Permalink
Fix code styling [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondfrancis authored and github-actions[bot] committed Mar 11, 2023
1 parent 2dd4c52 commit 5548502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Unit/BasicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public function too_many_total_throw()
/** @test */
public function reported_instead_of_thrown()
{
$handler = new class {
$handler = new class
{
public $reported;

public function report(Throwable $e)
Expand Down Expand Up @@ -242,12 +243,11 @@ public function handles_errors_as_well_as_exceptions()
$result = Flaky::make(__FUNCTION__)
->allowFailuresFor(10)
->run(function () {
strlen("test", "extra");
strlen('test', 'extra');
});

$this->assertEquals(true, $result->failed);
}

}

class SpecificException extends \Exception
Expand Down

0 comments on commit 5548502

Please sign in to comment.