You are here

public function ParserTest::testBlankLinesInQuotedMultiLineString in Lockr 7.3

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testBlankLinesInQuotedMultiLineString() {
  $yaml = <<<YAML
foobar: 'foo

    bar'
YAML;
  $expected = [
    'foobar' => "foo\nbar",
  ];
  $this
    ->assertSame($expected, $this->parser
    ->parse($yaml));
}