You are here

public function ParserTest::testParsingIniThrowsException in Lockr 7.3

@expectedException \Symfony\Component\Yaml\Exception\ParseException @expectedExceptionMessage Unable to parse at line 1 (near "[parameters]").

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParsingIniThrowsException() {
  $ini = <<<INI
[parameters]
  foo = bar
  bar = %foo%
INI;
  $this->parser
    ->parse($ini);
}