提交 6866cb0d 编写于 作者: R raoxian

update access.test.js

Signed-off-by: Nraoxian <raoxian@huawei.com>
上级 9fb27d57
......@@ -58,7 +58,7 @@ describe('fileio_access', function () {
expect(prepareFile(fpath, FILE_CONTENT)).assertTrue();
try {
fileio.accessSync(fpath, 0x2);
fileio.accessSync(fpath, 2);
fileio.unlinkSync(fpath);
} catch (err) {
console.info('fileio_test_access_sync_001 has failed for ' + err);
......@@ -81,7 +81,7 @@ describe('fileio_access', function () {
expect(prepareFile(fpath, FILE_CONTENT)).assertTrue();
try {
fileio.accessSync(fpath, 0x4);
fileio.accessSync(fpath, 4);
fileio.unlinkSync(fpath);
} catch (err) {
console.info('fileio_test_access_sync_002 has failed for ' + err);
......@@ -104,7 +104,7 @@ describe('fileio_access', function () {
expect(prepareFile(fpath, FILE_CONTENT)).assertTrue();
try {
fileio.accessSync(fpath, 0x2 | 0x4);
fileio.accessSync(fpath, 2 | 4);
fileio.unlinkSync(fpath);
} catch (err) {
console.info('fileio_test_access_sync_003 has failed for ' + err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册