Skip to content

Commit

Permalink
Hey Linter! ich komme gleich mit der rute!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Dec 1, 2024
1 parent a501450 commit 4926ea3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function theLastCommandShouldHaveThrownTheWorkspaceRebaseFailedWith(strin
$exception = $this->lastCommandException;
Assert::assertNotNull($exception, 'Command did not throw exception');

match($shortExceptionName) {
match ($shortExceptionName) {
'WorkspaceRebaseFailed' => Assert::assertInstanceOf(WorkspaceRebaseFailed::class, $exception, sprintf('Actual exception: %s (%s): %s', get_class($exception), $exception->getCode(), $exception->getMessage())),
'PartialWorkspaceRebaseFailed' => Assert::assertInstanceOf(PartialWorkspaceRebaseFailed::class, $exception, sprintf('Actual exception: %s (%s): %s', get_class($exception), $exception->getCode(), $exception->getMessage())),
};
Expand Down

0 comments on commit 4926ea3

Please sign in to comment.