diff --git a/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js b/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js index 67b25aa80752395f2de96cbc7c5deb0829dd6ad1..547923d85d9353cdfd50f714da1e80e9ae422deb 100644 --- a/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js +++ b/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js @@ -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); }) })