Skip to content

Commit b00d8dd

Browse files
committed
Tests: AssertRunner - fixed arguments order
1 parent 3250512 commit b00d8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/libs/AssertRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function run($cwd, array $args, array $env = NULL)
6161
throw new \CzProject\GitPhp\InvalidStateException("Missing assert for command '$cmd'");
6262
}
6363

64-
\Tester\Assert::same($cmd, $result->getCommand());
64+
\Tester\Assert::same($result->getCommand(), $cmd);
6565
next($this->asserts);
6666
return $result;
6767
}

0 commit comments

Comments
 (0)