public function ParserTest::testColonInMappingValueExceptionNotTriggeredByColonInComment in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ ParserTest.php, line 1258
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testColonInMappingValueExceptionNotTriggeredByColonInComment() {
$yaml = <<<'EOT'
foo:
bar: foobar # Note: a comment after a colon
EOT;
$this
->assertSame([
'foo' => [
'bar' => 'foobar',
],
], $this->parser
->parse($yaml));
}