Skip to content

Commit 8da9a38

Browse files
Tweak merge
1 parent bd39ce8 commit 8da9a38

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -931,13 +931,12 @@ public function testFloatKeys()
931931
*/
932932
public function testColonInMappingValueException()
933933
{
934-
$parser = $this->parser;
935-
936-
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 () use ($parser) {
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 () {
937935
$yaml = <<<EOF
938936
foo: bar: baz
939937
EOF;
940-
$parser->parse($yaml);
938+
939+
$this->parser->parse($yaml);
941940
});
942941
}
943942

0 commit comments

Comments
 (0)