提交 4cd163ef 编写于 作者: Y y00314596 提交者: 杨清

fixed b802773f from https://gitee.com/yangqing3/xts_acts/pulls/6415

add by yangqing3@huawei.com
Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 c5bbc5af
......@@ -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.
先完成此消息的编辑!
想要评论请 注册