You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test for Issue #26065: leading spaces in YAML multi-line string literals
When dumping an object to YAML.
If the first line of a mult-line string literal starts with spaces then
the YAML spec says you need to use a [block indentation indicator][1].
[1]: http://www.yaml.org/spec/1.2/spec.html#id2793979
@@ -213,16 +184,6 @@ public function testObjectSupportEnabled()
213
184
$this->assertEquals('{ foo: !php/object \'O:30:"Symfony\Component\Yaml\Tests\A":1:{s:1:"a";s:3:"foo";}\', bar: 1 }', $dump, '->dump() is able to dump objects');
$this->assertEquals('{ foo: !php/object \'O:30:"Symfony\Component\Yaml\Tests\A":1:{s:1:"a";s:3:"foo";}\', bar: 1 }', $dump, '->dump() is able to dump objects');
0 commit comments