diff --git a/commonlibrary/ets_utils/intl_lib_standard/src/main/js/test/Intl.properties.test.js b/commonlibrary/ets_utils/intl_lib_standard/src/main/js/test/Intl.properties.test.js index 57b9066040ff2f1b5dfc9e2578b91b24964a4a8a..fcc527da5d415110a9c4743f593b473094387812 100644 --- a/commonlibrary/ets_utils/intl_lib_standard/src/main/js/test/Intl.properties.test.js +++ b/commonlibrary/ets_utils/intl_lib_standard/src/main/js/test/Intl.properties.test.js @@ -31,7 +31,7 @@ describe('etsIntlPtsFunTest', function () { stringTest = "ä"; var value = stringTest.localeCompare('c'); console.log('StringTest001 :' + value); - expect(value).assertEqual(129); + expect(value).assertEqual(-1); }) /** * @tc.number : SUB_ARK_ETS_INTL_STRING_PROTOTYPE_002 @@ -59,7 +59,7 @@ describe('etsIntlPtsFunTest', function () { stringTest = "ä"; var value = stringTest.localeCompare('a'); console.log('StringTest003 :' + value); - expect(value).assertEqual(131); + expect(value).assertEqual(1); }) /** * @tc.number : SUB_ARK_ETS_INTL_STRING_PROTOTYPE_004 @@ -197,7 +197,7 @@ describe('etsIntlPtsFunTest', function () { stringTest = "a"; var value = stringTest.localeCompare('á', 'de', { sensitivity: 'accent' }); console.log('StringTest013 :' + value); - expect(value).assertEqual(0); + expect(value).assertEqual(-1); }) /** * @tc.number : SUB_ARK_ETS_INTL_STRING_PROTOTYPE_014