You are here

public function DumperTest::testCarriageReturnIsMaintainedWhenDumpingAsMultiLineLiteralBlock in Lockr 7.3

File

vendor/symfony/yaml/Tests/DumperTest.php, line 468

Class

DumperTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testCarriageReturnIsMaintainedWhenDumpingAsMultiLineLiteralBlock() {
  $this
    ->assertSame("- \"a\\r\\nb\\nc\"\n", $this->dumper
    ->dump([
    "a\r\nb\nc",
  ], 2, 0, Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK));
}