update composer.json, docs and tests

This commit is contained in:
crazywhalecc
2022-04-30 13:36:40 +08:00
parent 25d6ec3a92
commit 69637cf482
3 changed files with 40 additions and 2 deletions

View File

@@ -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'));
}
}