You are here

public function InlineTest::testParseInvalidMappingKeyShouldThrowException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testParseInvalidMappingKeyShouldThrowException()

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

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

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