未验证 提交 45f2ac4a 编写于 作者: 伞木希美 提交者: Gitee

del some wrong

Signed-off-by: N伞木希美 <zhanghanlin9@huawei.com>
上级 2b82fd2f
......@@ -61,21 +61,21 @@ async function publicHmacGenFunc(srcKeyAlies, HuksOptions) {
await huks
.isKeyExist(srcKeyAlies, emptyOptions)
.then(async (data) => {
console.log("isKeyExist111 data: " + JSON.stringify(data));
console.log("isKeyExist data: " + JSON.stringify(data));
expect(data == true).assertTrue();
})
.catch((err) => {
console.error("isKeyExist111 err: " + JSON.stringify(err));
console.error("isKeyExist err: " + JSON.stringify(err));
expect(null).assertFail();
});
await isKeyExist(srcKeyAlies, emptyOptions)
.then((data) => {
console.log("isKeyExist111 data: " + JSON.stringify(data));
console.log("isKeyExist data: " + JSON.stringify(data));
expect(data == true).assertTrue();
})
.catch((err) => {
console.error("isKeyExist111 err: " + JSON.stringify(err));
console.error("isKeyExist err: " + JSON.stringify(err));
expect(null).assertFail();
});
HuksOptions.properties.splice(1, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册