diff --git a/storage/storagefileiojstest/src/main/js/default/test/FileIO.test.js b/storage/storagefileiojstest/src/main/js/default/test/FileIO.test.js index 1f244012726ae08f43eeabff848467fe3e103eae..bd5be0cd145d49fead9b20002c5c5b5c31267abc 100644 --- a/storage/storagefileiojstest/src/main/js/default/test/FileIO.test.js +++ b/storage/storagefileiojstest/src/main/js/default/test/FileIO.test.js @@ -398,10 +398,10 @@ describe('fileIOTest', function () { try { let fd = fileio.openSync(fpath, 0o4002); expect(fd !== null).assertTrue(); - let fd_1 = fileio.openSync(fpath, 0o4002); - expect(fd_1 !== null).assertTrue(); + let fd2 = fileio.openSync(fpath, 0o4002); + expect(fd2 !== 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(); done(); }