public function ParserTest::testEvalRefException in Loft Data Grids 7.2
@expectedException \Symfony\Component\Yaml\Exception\ParseException @expectedExceptionMessage Reference "foo" does not exist
File
- vendor/
symfony/ yaml/ Tests/ ParserTest.php, line 1288
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testEvalRefException() {
$yaml = <<<EOE
foo: { &foo { a: Steve, <<: *foo} }
EOE;
$this->parser
->parse($yaml);
}