mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-02 14:25:38 +08:00
update composer.json, docs and tests
This commit is contained in:
@@ -71,4 +71,9 @@ class GlobalFunctionsTest extends TestCase
|
||||
'escaped' => ['foo\\*bar', 'foo*bar', true],
|
||||
];
|
||||
}
|
||||
|
||||
public function testZmExec(): void
|
||||
{
|
||||
$this->assertEquals(['code' => 0, 'signal' => 0, 'output' => "foo\n"], zm_exec('echo foo'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user