Просмотр исходного кода

[Yaml] Do not skip consistency checks in InlineTest::testDump()

These conditionals were excluding 12.30e+02 from being checked. Removing the conditionals does not break any tests.
Jeremy Mikola 14 лет назад
Родитель
Сommit
5803a8ed05
1 измененных файлов с 0 добавлено и 8 удалено
  1. 0 8
      tests/Symfony/Tests/Component/Yaml/InlineTest.php

+ 0 - 8
tests/Symfony/Tests/Component/Yaml/InlineTest.php

@@ -32,18 +32,10 @@ class InlineTest extends \PHPUnit_Framework_TestCase
         }
 
         foreach ($this->getTestsForParse() as $yaml => $value) {
-            if ($value == 1230) {
-                continue;
-            }
-
             $this->assertEquals($value, Inline::parse(Inline::dump($value)), 'check consistency');
         }
 
         foreach ($testsForDump as $yaml => $value) {
-            if ($value == 1230) {
-                continue;
-            }
-
             $this->assertEquals($value, Inline::parse(Inline::dump($value)), 'check consistency');
         }
     }