From 6debdc0b9f84c96a63421315215e01d7bab3a39e Mon Sep 17 00:00:00 2001 From: quanli Date: Sat, 26 Nov 2022 17:39:17 +0800 Subject: [PATCH] quanli1@huawei.com Signed-off-by: quanli --- .../src/main/js/default/test/LocationMTest.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/location/geolocation_standard/src/main/js/default/test/LocationMTest.test.js b/location/geolocation_standard/src/main/js/default/test/LocationMTest.test.js index 4e7057d1f..8528a309c 100644 --- a/location/geolocation_standard/src/main/js/default/test/LocationMTest.test.js +++ b/location/geolocation_standard/src/main/js/default/test/LocationMTest.test.js @@ -120,7 +120,7 @@ describe('geolocationTest_geo7', function () { it('SUB_HSS_LocationSystem_LocSwitch_0600', 0, function () { let state = geolocationm.isLocationEnabled(); console.info('[lbs_js] getLocationSwitchState06 result: ' + JSON.stringify(state)); - expect(JSON.stringify(state)).assertTrue(); + expect(state).assertTrue(); }); /** -- GitLab