diff --git a/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets b/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets index 3ad454c68a00ba165c93b4fe54c5b2fb3b869919..0497ca16292fd03fa91bf20e26e381ca13b1a3ce 100644 --- a/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets +++ b/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets @@ -45,9 +45,9 @@ export default function GetAppContextTest() { ); expect(context.applicationInfo.description).assertEqual(""); expect(context.applicationInfo.label).assertEqual("$string:app_name"); - expect(context.applicationInfo.labelId).assertEqual("16777216"); + expect(context.applicationInfo.labelId).assertEqual(16777216); expect(context.applicationInfo.icon).assertEqual("$media:app_icon"); - expect(context.applicationInfo.iconId).assertEqual("16777217"); + expect(context.applicationInfo.iconId).assertEqual(16777217); expect(context.applicationInfo.codePath != null).assertTrue(); abilityDelegator.printSync("ACTS_GET_APP_CONTENT_0001 pass "); done();