From 58ef3c9c32d92690114522c1990974e1331da31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=9E=97=E7=81=AB=E5=B1=B1?= Date: Sat, 13 Nov 2021 16:46:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=AE=E5=BA=A6=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=8E=A5=E5=8F=A3=E7=9A=84=E5=88=A4=E6=96=AD=E5=86=99?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 风林火山 --- .../src/main/js/default/test/battery_unit.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powermgr/powermgrbattery/src/main/js/default/test/battery_unit.test.js b/powermgr/powermgrbattery/src/main/js/default/test/battery_unit.test.js index 9a52f7a5f..a2c50f67d 100755 --- a/powermgr/powermgrbattery/src/main/js/default/test/battery_unit.test.js +++ b/powermgr/powermgrbattery/src/main/js/default/test/battery_unit.test.js @@ -262,6 +262,6 @@ describe('appInfoTest', function () { brightness.setValue(10); brightness.setValue(0); brightness.setValue(255); - expect(0).assertEqual('0') + expect(0 == 0).assertTrue(); }) }) -- GitLab