未验证 提交 ae22babf 编写于 作者: O openharmony_ci 提交者: Gitee

!1919 修改file.test copy

Merge pull request !1919 from chenkai008/master
......@@ -2805,13 +2805,6 @@ describe('fileTest', function () {
uri: 'internal://cache/File_Copy_005d',
success: function () {
console.log('File_Copy_005 call mkdir success.');
done();
},
fail: function (data, code) {
console.error('File_Copy_005 call mkdir fail, code: ' + code + ', data: ' + data);
expect(null).assertFail();
},
});
file.copy({
srcUri: 'internal://cache/File_Copy_005d',
dstUri: 'internal://cache/File_Copy_005d_1',
......@@ -2825,6 +2818,12 @@ describe('fileTest', function () {
done();
},
});
},
fail: function (data, code) {
console.error('File_Copy_005 call mkdir fail, code: ' + code + ', data: ' + data);
expect(null).assertFail();
},
});
});
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册