提交 37d6c6be 编写于 作者: S Storage sandboxing

删除storagefileiojstest没有用到的方法

Signed-off-by: NStorage sandboxing <raoxian050@chinasoftinc.com>
上级 816b2fae
...@@ -398,10 +398,10 @@ describe('fileIOTest', function () { ...@@ -398,10 +398,10 @@ describe('fileIOTest', function () {
try { try {
let fd = fileio.openSync(fpath, 0o4002); let fd = fileio.openSync(fpath, 0o4002);
expect(fd !== null).assertTrue(); expect(fd !== null).assertTrue();
let fd_1 = fileio.openSync(fpath, 0o4002); let fd2 = fileio.openSync(fpath, 0o4002);
expect(fd_1 !== null).assertTrue(); expect(fd2 !== null).assertTrue();
expect(fileio.closeSync(fd) !== null).assertTrue(); expect(fileio.closeSync(fd) !== null).assertTrue();
expect(fileio.closeSync(fd_1) !== null).assertTrue(); expect(fileio.closeSync(fd2) !== null).assertTrue();
expect(fileio.unlinkSync(fpath) !== null).assertTrue(); expect(fileio.unlinkSync(fpath) !== null).assertTrue();
done(); done();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册