You are here

public function InlineTest::testParseMapReferenceInSequenceAsFifthArgument in Lockr 7.3

@group legacy

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseMapReferenceInSequenceAsFifthArgument() {
  $foo = [
    'a' => 'Steve',
    'b' => 'Clark',
    'c' => 'Brian',
  ];
  $this
    ->assertSame([
    $foo,
  ], Inline::parse('[*foo]', false, false, false, [
    'foo' => $foo,
  ]));
}