public function DifferTest::testParser in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/diff/tests/DifferTest.php \SebastianBergmann\Diff\DifferTest::testParser()
*
Parameters
string $diff: * @param array $expected * @dataProvider diffProvider * @covers SebastianBergmann\Diff\Parser::parse
File
- vendor/
sebastian/ diff/ tests/ DifferTest.php, line 112
Class
Namespace
SebastianBergmann\DiffCode
public function testParser($diff, $expected) {
$parser = new Parser();
$result = $parser
->parse($diff);
$this
->assertEquals($expected, $result);
}