You are here

public function InlineTest::testParseInvalidMappingKeyShouldThrowException in Lockr 7.3

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

File

vendor/symfony/yaml/Tests/InlineTest.php, line 190

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

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