You are here

public function InlineTest::testParse in Lockr 7.3

@dataProvider getTestsForParse

File

vendor/symfony/yaml/Tests/InlineTest.php, line 29

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParse($yaml, $value, $flags = 0) {
  $this
    ->assertSame($value, Inline::parse($yaml, $flags), sprintf('::parse() converts an inline YAML to a PHP structure (%s)', $yaml));
}