From cc9d21324bf76c099c231223bdce8a0c3bfe19bc Mon Sep 17 00:00:00 2001 From: y00314596 Date: Thu, 16 Mar 2023 19:05:53 +0800 Subject: [PATCH] fixed b7ca466 from https://gitee.com/yangqing3/xts_acts/pulls/8038 add by yangqing3@huawei.com Signed-off-by: y00314596 --- global/i18n_standard/intljs/src/main/js/test/Lang.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/i18n_standard/intljs/src/main/js/test/Lang.test.js b/global/i18n_standard/intljs/src/main/js/test/Lang.test.js index 3737a6298..b7a625159 100644 --- a/global/i18n_standard/intljs/src/main/js/test/Lang.test.js +++ b/global/i18n_standard/intljs/src/main/js/test/Lang.test.js @@ -208,7 +208,7 @@ describe('LangTest', function () { console.log('i18n_test_preferredlanguage_1100 ' + 'start'); let value = I18n.getAppPreferredLanguage(); console.log('i18n_test_preferredlanguage_1100 ' + value); - expect(value).assertEqual('zh-Hans'); + expect(value).assertContain('zh'); }) /* * -- GitLab