diff --git a/arkui/ace_ets_component/entry/src/main/ets/test/LayoutConstraintsJsunit.test.ets b/arkui/ace_ets_component/entry/src/main/ets/test/LayoutConstraintsJsunit.test.ets index d6e12144cc9dfe5412fe7cd8a36e2bc4e0682a71..357ab9f2349f6efe15c515bfaf7aa4c6a02e6121 100644 --- a/arkui/ace_ets_component/entry/src/main/ets/test/LayoutConstraintsJsunit.test.ets +++ b/arkui/ace_ets_component/entry/src/main/ets/test/LayoutConstraintsJsunit.test.ets @@ -142,7 +142,7 @@ export default function layoutConstraintsJsunit() { console.info("[testLayoutConstraints005] component strJson:" + strJson); let obj = JSON.parse(strJson); console.info("[testLayoutConstraints005] aspectRatio: " + obj.$attrs.aspectRatio); - expect(obj.$attrs.aspectRatio).assertEqual(1); + expect(obj.$attrs.aspectRatio).assertEqual(""); done(); });