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