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 d5b5cfb97f342b5321e0b3f218c1f15e970a05d5..405b6b3f82f2f383d606c298242096e20655518e 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');