From 778f0c26de29474b89a4252529aa21584aaf53cf Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Mon, 29 Aug 2022 14:56:29 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=9D=9E=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengxingzhen --- .../entry/src/main/ets/test/VerificationTest.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets index bdb201085..6b6c51e6f 100644 --- a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets +++ b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/VerificationTest.ets @@ -66,8 +66,6 @@ export default function verificationTest(){ console.info(TAG + "startAbility data = " + JSON.stringify(data)); }).catch((err) => { console.info(TAG + "startAbility err = " + JSON.stringify(err)); - expect().assertFail(); - done(); }); } catch (err) { console.info(TAG + "catch err = " + JSON.stringify(err)); @@ -479,6 +477,8 @@ export default function verificationTest(){ console.info(TAG + "startAbility data = " + JSON.stringify(data)); }).catch((err) => { console.info(TAG + "startAbility err = " + JSON.stringify(err)); + expect().assertFail(); + done(); }); } catch (err) { console.info(TAG + "catch err = " + JSON.stringify(err)); -- GitLab