You are here

public function ParserTest::testTaggedInlineMapping in Lockr 7.3

File

vendor/symfony/yaml/Tests/ParserTest.php, line 1763

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testTaggedInlineMapping() {
  $this
    ->assertEquals(new TaggedValue('foo', [
    'foo' => 'bar',
  ]), $this->parser
    ->parse('!foo {foo: bar}', Yaml::PARSE_CUSTOM_TAGS));
}