public function ParserTest::testCommentCharactersInMultiLineQuotedStrings in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ ParserTest.php, line 1646
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testCommentCharactersInMultiLineQuotedStrings() {
$yaml = <<<YAML
foo:
foobar: 'foo
#bar'
bar: baz
YAML;
$expected = [
'foo' => [
'foobar' => 'foo #bar',
'bar' => 'baz',
],
];
$this
->assertSame($expected, $this->parser
->parse($yaml));
}