public function ScalarComparatorTest::testAssertEqualsSucceeds in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/tests/ScalarComparatorTest.php \SebastianBergmann\Comparator\ScalarComparatorTest::testAssertEqualsSucceeds()
@covers ::assertEquals @dataProvider assertEqualsSucceedsProvider
File
- vendor/
sebastian/ comparator/ tests/ ScalarComparatorTest.php, line 133
Class
- ScalarComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\ScalarComparator
Namespace
SebastianBergmann\ComparatorCode
public function testAssertEqualsSucceeds($expected, $actual, $ignoreCase = false) {
$exception = null;
try {
$this->comparator
->assertEquals($expected, $actual, 0.0, false, $ignoreCase);
} catch (ComparisonFailure $exception) {
}
$this
->assertNull($exception, 'Unexpected ComparisonFailure');
}