From b802773fb79553b6fb31aa062493e204b50e1a89 Mon Sep 17 00:00:00 2001 From: y00314596 Date: Mon, 7 Nov 2022 22:26:26 +0800 Subject: [PATCH] add by yangqing3@huawei.com Signed-off-by: y00314596 --- .../resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 67b25aa80..547923d85 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); }) }) -- GitLab