Skip to content

Commit e5d22e1

Browse files
Merge pull request #50 from xabbuh/issue-49
swap actual and expected value in error message
2 parents f54449c + f66ada0 commit e5d22e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PhpUnit/ContainerHasParameterConstraint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ private function evaluateParameterValue(ContainerInterface $container, $returnRe
7777
$this->fail($container, sprintf(
7878
'The value of parameter "%s" (%s) does not match the expected value (%s)',
7979
$this->parameterName,
80-
$this->exporter->export($this->expectedParameterValue),
81-
$this->exporter->export($actualValue)
80+
$this->exporter->export($actualValue),
81+
$this->exporter->export($this->expectedParameterValue)
8282
));
8383
}
8484

0 commit comments

Comments
 (0)