瀏覽代碼

Revert "merged branch trompette/patch-1 (PR #1761)"

This reverts commit 8e3b9c334d38b644af70e86d9598371869831d95, reversing
changes made to 61f02902fea4b415fbf212f25eee93251a5e4b8f.
Fabien Potencier 14 年之前
父節點
當前提交
e5eab90169
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Symfony/Tests/Component/HttpFoundation/RequestMatcherTest.php

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/RequestMatcherTest.php

@@ -71,7 +71,7 @@ class RequestMatcherTest extends \PHPUnit_Framework_TestCase
 
     public function testAnIpv6WithOptionDisabledIpv6()
     {
-        if (!defined('AF_INET6')) {
+        if (defined('AF_INET6')) {
             $this->markTestSkipped('Only works when PHP is compiled with the option "disable-ipv6".');
         }