提交 649e7aa4 编写于 作者: W weiyufeng

song : modify code indentation

Signed-off-by: Ncaochuan <caochuan@huawei.com>
上级 a1af8395
...@@ -412,7 +412,7 @@ export default function fileIOFileLock() { ...@@ -412,7 +412,7 @@ export default function fileIOFileLock() {
let file = fileIO.openSync(fpath, fileIO.OpenMode.READ_WRITE); let file = fileIO.openSync(fpath, fileIO.OpenMode.READ_WRITE);
expect(isIntNum(file.fd)).assertTrue(); expect(isIntNum(file.fd)).assertTrue();
await file.lock(); await file.lock();
file.tryLock(-1); file.tryLock(-1);
expect(false).assertTrue(); expect(false).assertTrue();
file.closeSync(file.fd); file.closeSync(file.fd);
file.unlinkSync(fpath); file.unlinkSync(fpath);
...@@ -441,8 +441,8 @@ export default function fileIOFileLock() { ...@@ -441,8 +441,8 @@ export default function fileIOFileLock() {
let file = fileIO.openSync(fpath, fileIO.OpenMode.READ_WRITE); let file = fileIO.openSync(fpath, fileIO.OpenMode.READ_WRITE);
expect(isIntNum(file.fd)).assertTrue(); expect(isIntNum(file.fd)).assertTrue();
await file.lock(); await file.lock();
file.tryLock(); file.tryLock();
file.unlock(true); file.unlock(true);
expect(false).assertTrue(); expect(false).assertTrue();
file.closeSync(file.fd); file.closeSync(file.fd);
file.unlinkSync(fpath); file.unlinkSync(fpath);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册