You are here

public function ParserTest::testEndOfTheDocumentMarker in Plug 7

File

lib/Symfony/yaml/Symfony/Component/Yaml/Tests/ParserTest.php, line 91

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testEndOfTheDocumentMarker() {
  $yaml = <<<EOF
--- %YAML:1.0
foo
...
EOF;
  $this
    ->assertEquals('foo', $this->parser
    ->parse($yaml));
}