Skip to content

Commit

Permalink
Tests: AssertRunner - fixed arguments order
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Apr 21, 2022
1 parent 3250512 commit b00d8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/libs/AssertRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function run($cwd, array $args, array $env = NULL)
throw new \CzProject\GitPhp\InvalidStateException("Missing assert for command '$cmd'");
}

\Tester\Assert::same($cmd, $result->getCommand());
\Tester\Assert::same($result->getCommand(), $cmd);
next($this->asserts);
return $result;
}
Expand Down

0 comments on commit b00d8dd

Please sign in to comment.