You are here

public function InlineTest::testParseMapReferenceInSequence in Plug 7

File

lib/Symfony/yaml/Symfony/Component/Yaml/Tests/InlineTest.php, line 144

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

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