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

!6416 modify rawfile to 1018

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