From 014cb58387fc18e69fc2b76ba1d0fbcf65bccc7c Mon Sep 17 00:00:00 2001 From: zhangxinyue Date: Thu, 22 Sep 2022 15:46:21 +0800 Subject: [PATCH] fixed f27b4d5 from https://gitee.com/zhang-xinyue15/xts_acts/pulls/5573 bug fix Signed-off-by: zhangxinyue --- .../entry/src/main/ets/test/SliderJsunit.test.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkui/ace_ets_standard/entry/src/main/ets/test/SliderJsunit.test.ets b/arkui/ace_ets_standard/entry/src/main/ets/test/SliderJsunit.test.ets index 3278418cf..2c444a6d4 100644 --- a/arkui/ace_ets_standard/entry/src/main/ets/test/SliderJsunit.test.ets +++ b/arkui/ace_ets_standard/entry/src/main/ets/test/SliderJsunit.test.ets @@ -67,7 +67,7 @@ export default function sliderJsunit() { console.info("component obj is Slider: " + JSON.stringify(obj.$attrs.constructor)); expect(obj.$attrs.showTips).assertEqual("false") expect(obj.$attrs.showSteps).assertEqual("false") - expect(obj.$attrs.constructor.value).assertEqual(40.000000.toFixed(6)) + expect(obj.$attrs.constructor.value).assertEqual(10.000000.toFixed(6)) expect(obj.$attrs.constructor.min).assertEqual(0.000000.toFixed(6)) expect(obj.$attrs.constructor.max).assertEqual(100.000000.toFixed(6)) expect(obj.$attrs.constructor.step).assertEqual(1.000000.toFixed(6)) -- GitLab