You are here

public function ParserTest::testColonInMappingValueException in Lockr 7.3

@expectedException \Symfony\Component\Yaml\Exception\ParseException @expectedExceptionMessage A colon cannot be used in an unquoted mapping value

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testColonInMappingValueException() {
  $yaml = <<<'EOF'
foo: bar: baz
EOF;
  $this->parser
    ->parse($yaml);
}