Skip to content

Commit

Permalink
Fixed wrong message in ConstraintTestCase
Browse files Browse the repository at this point in the history
The SelfDescribing test was reporting lack of implementation of the
\Countable class not the SelfDescribing class. While not a problem, it
would be at least misleading to contributors seeing the error.
  • Loading branch information
rdohms authored and sebastianbergmann committed Feb 17, 2019
1 parent d00d0af commit 6c0d407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/Framework/Constraint/ConstraintTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final public function testIsSelfDescribing(): void
$this->assertTrue($reflection->implementsInterface(SelfDescribing::class), \sprintf(
'Failed to assert that "%s" implements "%s".',
$className,
\Countable::class
SelfDescribing::class
));
}

Expand Down

0 comments on commit 6c0d407

Please sign in to comment.