提交 669c4494 编写于 作者: Y yujiadong 提交者: Yujiadong

fixed d05b540b from https://gitee.com/nickyjd/xts_acts/pulls/9856

fix ActsAceEtsComponentTest aspectRatio set negative
Signed-off-by: Nyujiadong <yujiadong3@huawei.com>
Change-Id: Ie74260a17251a8e91e953063c67ea519fce7f7cf
上级 70b0b1b4
...@@ -142,7 +142,7 @@ export default function layoutConstraintsJsunit() { ...@@ -142,7 +142,7 @@ export default function layoutConstraintsJsunit() {
console.info("[testLayoutConstraints005] component strJson:" + strJson); console.info("[testLayoutConstraints005] component strJson:" + strJson);
let obj = JSON.parse(strJson); let obj = JSON.parse(strJson);
console.info("[testLayoutConstraints005] aspectRatio: " + obj.$attrs.aspectRatio); console.info("[testLayoutConstraints005] aspectRatio: " + obj.$attrs.aspectRatio);
expect(obj.$attrs.aspectRatio).assertEqual(1); expect(obj.$attrs.aspectRatio).assertEqual("");
done(); done();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册