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

!6415 modify rawfile

Merge pull request !6415 from 杨清/1228
......@@ -1074,7 +1074,7 @@ describe('resMgrTest', function () {
it('closeRawFileDescriptor_test_001', 0, async function (done) {
resmgr.getResourceManager((error, mgr) => {
mgr.closeRawFileDescriptor('rawfiletest.xml', (error, value) => {
expect(error == null).assertTrue();
expect(error !== null).assertTrue();
console.log('closeRawFileDescriptor_test_001--' + error);
})
})
......@@ -1104,7 +1104,7 @@ describe('resMgrTest', function () {
it('closeRawFd_test_001', 0, async function (done) {
resmgr.getResourceManager((error, mgr) => {
mgr.closeRawFd('rawfiletest.xml', (error, value) => {
expect(error == null).assertTrue();
expect(error !== null).assertTrue();
console.log('closeRawFd_test_001--' + error);
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册