未验证 提交 778f0c26 编写于 作者: C chengxingzhen 提交者: Gitee

删除非必要的断言

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 57f7a603
...@@ -66,8 +66,6 @@ export default function verificationTest(){ ...@@ -66,8 +66,6 @@ export default function verificationTest(){
console.info(TAG + "startAbility data = " + JSON.stringify(data)); console.info(TAG + "startAbility data = " + JSON.stringify(data));
}).catch((err) => { }).catch((err) => {
console.info(TAG + "startAbility err = " + JSON.stringify(err)); console.info(TAG + "startAbility err = " + JSON.stringify(err));
expect().assertFail();
done();
}); });
} catch (err) { } catch (err) {
console.info(TAG + "catch err = " + JSON.stringify(err)); console.info(TAG + "catch err = " + JSON.stringify(err));
...@@ -479,6 +477,8 @@ export default function verificationTest(){ ...@@ -479,6 +477,8 @@ export default function verificationTest(){
console.info(TAG + "startAbility data = " + JSON.stringify(data)); console.info(TAG + "startAbility data = " + JSON.stringify(data));
}).catch((err) => { }).catch((err) => {
console.info(TAG + "startAbility err = " + JSON.stringify(err)); console.info(TAG + "startAbility err = " + JSON.stringify(err));
expect().assertFail();
done();
}); });
} catch (err) { } catch (err) {
console.info(TAG + "catch err = " + JSON.stringify(err)); console.info(TAG + "catch err = " + JSON.stringify(err));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册