You are here

public function ParserTest::testCanParseContentWithTrailingSpaces in Lockr 7.3

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 = [
    'items' => [
      'foo' => 'bar',
    ],
  ];
  $this
    ->assertSame($expected, $this->parser
    ->parse($yaml));
}