public function InlineTest::testVeryLongQuotedStrings in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 728
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testVeryLongQuotedStrings() {
$longStringWithQuotes = str_repeat("x\r\n\\\"x\"x", 1000);
$yamlString = Inline::dump([
'longStringWithQuotes' => $longStringWithQuotes,
]);
$arrayFromYaml = Inline::parse($yamlString);
$this
->assertEquals($longStringWithQuotes, $arrayFromYaml['longStringWithQuotes']);
}