public function ParserTest::testCanParseContentWithTrailingSpaces in Database Sanitize 7
File
- vendor/
symfony/ yaml/ Tests/ ParserTest.php, line 620
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testCanParseContentWithTrailingSpaces() {
$yaml = "items: \n foo: bar";
$expected = array(
'items' => array(
'foo' => 'bar',
),
);
$this
->assertSame($expected, $this->parser
->parse($yaml));
}