From dbe744370a4df0345970c02d4a1f012686947b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=98=E7=BC=98?= Date: Mon, 9 May 2016 19:55:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88hhvm=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/thinkphp/library/think/debugTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/thinkphp/library/think/debugTest.php b/tests/thinkphp/library/think/debugTest.php index 90c5cb93..8a9ac863 100644 --- a/tests/thinkphp/library/think/debugTest.php +++ b/tests/thinkphp/library/think/debugTest.php @@ -33,10 +33,6 @@ class debugTest extends \PHPUnit_Framework_TestCase */ protected function setUp() { - if (strstr(PHP_VERSION, 'hhvm')) { - $this->markTestSkipped("HHVM下跳过测试"); - } - $this->object = new Debug(); } @@ -164,6 +160,10 @@ class debugTest extends \PHPUnit_Framework_TestCase */ public function testDump() { + if (strstr(PHP_VERSION, 'hhvm')) { + return ; + } + $var = []; $var["key"] = "val"; $output = Debug::dump($var, false, $label = "label");