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
Namespace
Symfony\Component\Yaml\TestsCode
public function testColonInMappingValueException() {
$yaml = <<<'EOF'
foo: bar: baz
EOF;
$this->parser
->parse($yaml);
}