You are here

public function InlineTest::testParseInvalidMappingKeyShouldThrowException in Plug 7

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

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseInvalidMappingKeyShouldThrowException() {
  $value = '{ "foo " bar": "bar" }';
  Inline::parse($value);
}