public function DifferTest::testCustomHeaderCanBeUsed in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/diff/tests/DifferTest.php \SebastianBergmann\Diff\DifferTest::testCustomHeaderCanBeUsed()
@covers SebastianBergmann\Diff\Differ::diff
File
- vendor/
sebastian/ diff/ tests/ DifferTest.php, line 88
Class
Namespace
SebastianBergmann\DiffCode
public function testCustomHeaderCanBeUsed() {
$differ = new Differ('CUSTOM HEADER');
$this
->assertEquals("CUSTOM HEADER@@ @@\n-a\n+b\n", $differ
->diff('a', 'b'));
}