提交 c00257e5 编写于 作者: Y yanglifeng1217

<modified>

Signed-off-by: Nyanglifeng1217 <yanglifeng5@huawei.com>
上级 5b2698a9
......@@ -2185,10 +2185,11 @@ describe('rdbPredicatesTest', function () {
predicates.like("stringValue", "ABCDEFGHIJKLMN").indexedBy(["characterValue"]);
let result = await rdbStore.query(predicates);
expect(3).assertEqual(result.rowCount);
}catch(err){
errInfo = err
} catch (err) {
expect(err != undefined).assertTrue();
console.info(TAG + "testIndexedBy0001 err " + err);
errInfo = err;
}
expect(errInfo.code).assertEqual("401")
done();
console.info(TAG + "************* testIndexedBy0001 end *************");
})
......@@ -2206,10 +2207,11 @@ describe('rdbPredicatesTest', function () {
predicates.like("stringValue", "ABCDEFGHIJKLMN").indexedBy(["characterValueX"]);
let result = await rdbStore.query(predicates);
expect(3).assertEqual(result.rowCount);
}catch(err){
errInfo = err
} catch (err) {
expect(err != undefined).assertTrue();
console.info(TAG + "testIndexedBy0002 err " + err);
errInfo = err;
}
expect(errInfo.code).assertEqual("401")
done();
console.info(TAG + "************* testIndexedBy0002 end *************");
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册