public function InlineTest::testParse in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Symfony/Component/Yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testParse()
- 7.2 vendor/Symfony/Component/Yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testParse()
File
- vendor/
Symfony/ Component/ Yaml/ Tests/ InlineTest.php, line 19
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testParse() {
foreach ($this
->getTestsForParse() as $yaml => $value) {
$this
->assertSame($value, Inline::parse($yaml), sprintf('::parse() converts an inline YAML to a PHP structure (%s)', $yaml));
}
}