public function YamlTest::testLegacyParseFromFile in Loft Data Grids 7.2
@group legacy
File
- vendor/
symfony/ yaml/ Tests/ YamlTest.php, line 30
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testLegacyParseFromFile() {
$filename = __DIR__ . '/Fixtures/index.yml';
$contents = file_get_contents($filename);
$parsedByFilename = Yaml::parse($filename);
$parsedByContents = Yaml::parse($contents);
$this
->assertEquals($parsedByFilename, $parsedByContents);
}