提交 42300e85 编写于 作者: Z zhangxingxia

update fileio xts

Signed-off-by: Nzhangxingxia <zhangxingxia1@huawei.com>
上级 75e10aee
......@@ -66,10 +66,9 @@ describe('fileio_dir_close_read', function () {
let dd = await fileio.opendir(dpath);
expect(dd !== null).assertTrue();
dd.close(function (err) {
expect(!!err).assertTrue();
expect(fileio.rmdirSync(dpath) == null).assertTrue();
done();
});
expect(fileio.rmdirSync(dpath) == null).assertTrue();
done();
} catch (e) {
console.log('fileio_test_dir_close_async_001 has failed for ' + e);
expect(null).assertFail();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册