You are here

public function ParserTest::testCanParseContentWithTrailingSpaces in Database Sanitize 7

File

vendor/symfony/yaml/Tests/ParserTest.php, line 620

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testCanParseContentWithTrailingSpaces() {
  $yaml = "items:  \n  foo: bar";
  $expected = array(
    'items' => array(
      'foo' => 'bar',
    ),
  );
  $this
    ->assertSame($expected, $this->parser
    ->parse($yaml));
}