mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
去除 IS_CGI IS_MAC NOW_TIME 常量
This commit is contained in:
@@ -170,7 +170,7 @@ class debugTest extends \PHPUnit_Framework_TestCase
|
||||
$array = explode("array", json_encode($output));
|
||||
if (IS_WIN) {
|
||||
$this->assertEquals("(1) {\\n [\\\"key\\\"] => string(3) \\\"val\\\"\\n}\\n\\r\\n\"", end($array));
|
||||
} else if (IS_MAC) {
|
||||
} else if (strstr(PHP_OS, 'Darwin')) {
|
||||
$this->assertEquals("(1) {\\n [\\\"key\\\"] => string(3) \\\"val\\\"\\n}\\n\\n\"", end($array));
|
||||
} else {
|
||||
$this->assertEquals("(1) {\\n 'key' =>\\n string(3) \\\"val\\\"\\n}\\n\\n\"", end($array));
|
||||
|
||||
Reference in New Issue
Block a user