You are here

public function InlineTest::testParseScalarWithIncorrectlyQuotedStringShouldThrowException in Plug 7

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

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

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