You are here

public function InlineTest::testParseInvalidMappingShouldThrowException in Plug 7

@expectedException \Symfony\Component\Yaml\Exception\ParseException

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseInvalidMappingShouldThrowException() {
  Inline::parse('[foo] bar');
}