[Yaml] sync test and actually triggered message

This commit is contained in:
Christian Flothmann 2016-08-27 13:14:18 +02:00
parent e0acca67e0
commit e8dfd4dc48

View File

@ -260,7 +260,7 @@ class InlineTest extends \PHPUnit_Framework_TestCase
*/
public function testParseUnquotedScalarStartingWithPercentCharacter()
{
ErrorAssert::assertDeprecationsAreTriggered('Not quoting a scalar starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0.', function () {
ErrorAssert::assertDeprecationsAreTriggered('Not quoting the scalar "%foo " starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0.', function () {
Inline::parse('{ foo: %foo }');
});
}