diff --git a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets index bc0b9793b26e7d4969f0ab30aaa7f8e7adf1fc71..a1a06fc17df011d6a410c3a86661181c9ccf1126 100644 --- a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets +++ b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets @@ -596,7 +596,7 @@ export default function ApiCoverTest() { console.info("SUB_AA_FMS_AbilityStage_0100===SubscribeInfoCallback===" + JSON.stringify(data)) expect(data.parameters["config"]).assertEqual(-1) expect(data.parameters["config"]).assertEqual(directions) - expect(pointer).assertFalse() + expect(typeof(pointer)).assertEqual("boolean") commonEvent.unsubscribe(subscriber, UnSubscribeInfoCallback) await sleep(4000) done()