소스 검색

merged branch jmikola/yaml-skipped-tests (PR #1689)

Commits
-------

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

Discussion
----------

[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.

I investigated the conditionals with git blame, but that stops at previous commits for code formatting changes. These appear to be very old. Perhaps they were added for test failures on certain platforms? I don't spot any failures on Linux.
Fabien Potencier 14 년 전
부모
커밋
3f33826c15
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');
         }
     }