Skip to content

Commit 22a1105

Browse files
Fix merge
1 parent 8da9a38 commit 22a1105

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

@@ -931,13 +930,11 @@ public function testFloatKeys()
931930
*/
932931
public function testColonInMappingValueException()
933932
{
934-
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 () {
935-
$yaml = <<<EOF
933+
$yaml = <<<EOF
936934
foo: bar: baz
937935
EOF;
938936

939-
$this->parser->parse($yaml);
940-
});
937+
$this->parser->parse($yaml);
941938
}
942939

943940
public function testColonInMappingValueExceptionNotTriggeredByColonInComment()

0 commit comments

Comments
 (0)