Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33636c7

Browse files
Merge branch '3.0' into 3.1
* 3.0: Fix merge
2 parents 4a15e66 + 22a1105 commit 33636c7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Symfony/Component/Yaml/Tests/ParserTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Yaml\Tests;
1313

14-
use Symfony\Bridge\PhpUnit\ErrorAssert;
1514
use Symfony\Component\Yaml\Yaml;
1615
use Symfony\Component\Yaml\Parser;
1716

@@ -968,13 +967,11 @@ public function testFloatKeys()
968967
*/
969968
public function testColonInMappingValueException()
970969
{
971-
ErrorAssert::assertDeprecationsAreTriggered('Using a colon in the unquoted mapping value "bar: baz" in line 1 is deprecated since Symfony 2.8 and will throw a ParseException in 3.0.', function () {
972-
$yaml = <<<EOF
970+
$yaml = <<<EOF
973971
foo: bar: baz
974972
EOF;
975973

976-
$this->parser->parse($yaml);
977-
});
974+
$this->parser->parse($yaml);
978975
}
979976

980977
public function testColonInMappingValueExceptionNotTriggeredByColonInComment()

0 commit comments

Comments
 (0)