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