You are here

public function ParserTest::testParseMultiLineQuotedString in Lockr 7.3

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

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