You are here

public function ParserTest::testParseMultiLineUnquotedString in Lockr 7.3

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseMultiLineUnquotedString() {
  $yaml = <<<EOT
foo: bar
  baz
   foobar
  foo
bar: baz
EOT;
  $this
    ->assertSame([
    'foo' => 'bar baz foobar foo',
    'bar' => 'baz',
  ], $this->parser
    ->parse($yaml));
}