symfony/symfony — Issue #2710: [Yaml] DumperTest::testInlineLevel failing.
Author: drak
Created: 2011-11-24 05:19:02+00:00
State: open

It looks like this tests might have been failing for a long while since I want right back to the beginning of the history for the Yaml tree and the same error came about. I am not familiar enough with Yaml to fix this.

```
There is one test failing.

There was 1 failure:

1) Symfony\Tests\Component\Yaml\DumperTest::testInlineLevel
->dump() takes an inline level argument
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
''': bar
-
foo: '#bar'
-
'foo''bar': { }
-
bar: [1, foo]
-
foobar: { foo: bar, bar: [1, foo], foobar: { foo: bar, bar: [1, foo] } }
-
'

C:\xampp\php\PEAR\PHPUnit\Framework\Constraint\IsEqual.php:171
C:\xampp\php\PEAR\PHPUnit\Framework\Assert.php:2100
C:\xampp\php\PEAR\PHPUnit\Framework\Assert.php:441
C:\xampp\htdocs\symfony\tests\Symfony\Tests\Component\Yaml\DumperTest.php:96
C:\xampp\php\PEAR\PHPUnit\Framework\TestCase.php:918
C:\xampp\php\PEAR\PHPUnit\Framework\TestCase.php:780
C:\xampp\php\PEAR\PHPUnit\Framework\TestResult.php:649
C:\xampp\php\PEAR\PHPUnit\Framework\TestCase.php:727
C:\xampp\php\PEAR\PHPUnit\Framework\TestSuite.php:772
C:\xampp\php\PEAR\PHPUnit\Framework\TestSuite.php:745
C:\xampp\php\PEAR\PHPUnit\Framework\TestSuite.php:705
C:\xampp\php\PEAR\PHPUnit\TextUI\TestRunner.php:325
C:\xampp\php\PEAR\PHPUnit\TextUI\Command.php:187
C:\xampp\php\PEAR\PHPUnit\TextUI\Command.php:125
C:\xampp\php\phpunit:44

FAILURES!
Tests: 128, Assertions: 385, Failures: 1.
```