mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
取消hhvm跳过测试
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user