You are here

public function ParserTest::testEndOfTheDocumentMarker in Lockr 7.3

File

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

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));
}