public function InlineTest::testParseInvalidMappingKeyShouldThrowException in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testParseInvalidMappingKeyShouldThrowException()
@expectedException \Symfony\Component\Yaml\Exception\ParseException
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ Yaml/ Tests/ InlineTest.php, line 92
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testParseInvalidMappingKeyShouldThrowException() {
$value = '{ "foo " bar": "bar" }';
Inline::parse($value);
}