You are here

public function ParserTest::testDetectCircularReferences in Lockr 7.3

@dataProvider circularReferenceProvider @expectedException \Symfony\Component\Yaml\Exception\ParseException @expectedExceptionMessage Circular reference [foo, bar, foo] detected

File

vendor/symfony/yaml/Tests/ParserTest.php, line 2185

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testDetectCircularReferences($yaml) {
  $this->parser
    ->parse($yaml, Yaml::PARSE_CUSTOM_TAGS);
}