提交 0fe11b78 编写于 作者: Z zhangxinyue

bug fix

Signed-off-by: Nzhangxinyue <zhangxinyue38@huawei.com>
上级 8aff1f41
......@@ -466,7 +466,7 @@ export default function swiperJsunit() {
let strJsonNew = getInspectorByKey('swiper');
let objNew = JSON.parse(strJsonNew);
console.info("swiperTest_1900 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.duration).assertEqual('nan');
expect(objNew.$attrs.duration).assertEqual('0.000000');
console.info('swiperTest_1900 END');
done();
});
......
......@@ -53,7 +53,7 @@ export default function positionSettingJsunit() {
console.info("[testPositionSetting001] component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("[testPositionSetting001] textAlign: " + obj.$attrs.textAlign);
expect(obj.$attrs.textAlign).assertEqual('TextAlign.Start');
expect(obj.$attrs.textAlign).assertEqual('TextAlign.Left');
console.info('[testPositionSetting001] END');
done();
});
......@@ -92,7 +92,7 @@ export default function positionSettingJsunit() {
console.info("[testPositionSetting003] component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("[testPositionSetting003] textAlign: " + obj.$attrs.textAlign);
expect(obj.$attrs.textAlign).assertEqual("TextAlign.Start");
expect(obj.$attrs.textAlign).assertEqual("TextAlign.Right");
console.info('[testPositionSetting003] END');
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册