Skip to content

Commit

Permalink
Normalize closure syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 9, 2024
1 parent eca861c commit c5594a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/framework/tests/Unit/BuildTaskServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@ public function testGenerateSitemapExtendsPostBuildTask()

public function testCanRunPreBuildTasks()
{
$this->can($this->service->runPreBuildTasks(...));
$this->can(fn () => $this->service->runPreBuildTasks(...));
}

public function testCanRunPostBuildTasks()
{
$this->can($this->service->runPostBuildTasks(...));
$this->can(fn () => $this->service->runPostBuildTasks(...));
}

public function testCanRunPreBuildTasksWithTasks()
Expand Down

0 comments on commit c5594a9

Please sign in to comment.