From e8dfd4dc48ed4c8cbcb997707fd124d03d6d6200 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sat, 27 Aug 2016 13:14:18 +0200 Subject: [PATCH] [Yaml] sync test and actually triggered message --- src/Symfony/Component/Yaml/Tests/InlineTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Yaml/Tests/InlineTest.php b/src/Symfony/Component/Yaml/Tests/InlineTest.php index 64c4404b59222..92396bd74f426 100644 --- a/src/Symfony/Component/Yaml/Tests/InlineTest.php +++ b/src/Symfony/Component/Yaml/Tests/InlineTest.php @@ -260,7 +260,7 @@ public function getScalarIndicators() */ 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 }'); }); }