From 1363966ed74febf4dd6efee79b66ad8368c1faae Mon Sep 17 00:00:00 2001 From: zoulinken Date: Mon, 28 Aug 2023 11:52:55 +0800 Subject: [PATCH] fixed 5b3c8f7 from https://gitee.com/xzken/xts_acts/pulls/9904 fix button fontSize xts error Signed-off-by: zoulinken --- .../entry/src/main/ets/test/ButtonJsunit.test.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets index d5b5cfb97..405b6b3f8 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/ButtonJsunit.test.ets @@ -154,7 +154,7 @@ export default function buttonJsunit() { let strJson = getInspectorByKey('btok'); let obj = JSON.parse(strJson); console.info("[buttonJsunit_0700'] component obj is: " + obj.$attrs.fontSize + obj.$attrs.fontColor + obj.$attrs.fontFamily + obj.$attrs.fontStyle + obj.$attrs.fontWeight); - expect(obj.$attrs.fontSize).assertEqual('-200.00fp'); + expect(obj.$attrs.fontSize).assertEqual('16.00fp'); expect(obj.$attrs.fontColor).assertEqual('#FFFFFFFF'); expect(obj.$attrs.fontFamily).assertEqual('233'); expect(obj.$attrs.fontStyle).assertEqual('FontStyle.Normal'); -- GitLab