取消hhvm跳过测试

This commit is contained in:
尘缘
2016-05-09 19:55:33 +08:00
parent 5407d18f80
commit dbe744370a

View File

@@ -33,10 +33,6 @@ class debugTest extends \PHPUnit_Framework_TestCase
*/ */
protected function setUp() protected function setUp()
{ {
if (strstr(PHP_VERSION, 'hhvm')) {
$this->markTestSkipped("HHVM下跳过测试");
}
$this->object = new Debug(); $this->object = new Debug();
} }
@@ -164,6 +160,10 @@ class debugTest extends \PHPUnit_Framework_TestCase
*/ */
public function testDump() public function testDump()
{ {
if (strstr(PHP_VERSION, 'hhvm')) {
return ;
}
$var = []; $var = [];
$var["key"] = "val"; $var["key"] = "val";
$output = Debug::dump($var, false, $label = "label"); $output = Debug::dump($var, false, $label = "label");