You are here

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

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testEvalRefException() {
  $yaml = <<<EOE
foo: { &foo { a: Steve, <<: *foo} }
EOE;
  $this->parser
    ->parse($yaml);
}