You are here

public function InlineTest::testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Symfony/Component/Yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException()
  2. 7.2 vendor/Symfony/Component/Yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException()

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

File

vendor/Symfony/Component/Yaml/Tests/InlineTest.php, line 80

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException() {
  $value = '"don"t do somthin" like that"';
  Inline::parse($value);
}