未验证 提交 b58ff2fb 编写于 作者: O openharmony_ci 提交者: Gitee

!4573 modify display country cases

Merge pull request !4573 from 杨清/1228
......@@ -109,7 +109,7 @@ describe('I18nTest', function () {
it('i18n_test_3900', 0, function () {
let value = I18n.getDisplayCountry('zh', 'en-US', true);
console.log('i18n_test_3900 ' + value);
expect(value).assertEqual('China');
expect(value).assertEqual('');
})
/* *
......@@ -131,7 +131,7 @@ describe('I18nTest', function () {
it('i18n_test_4100', 0, function () {
let value = I18n.getDisplayCountry('zh-Hans', 'en-US', true);
console.log('i18n_test_4100 ' + value);
expect(value).assertEqual('China');
expect(value).assertEqual('');
})
/* *
......@@ -208,7 +208,7 @@ describe('I18nTest', function () {
it('i18n_test_4800', 0, function () {
let value = I18n.getDisplayLanguage('zh-Hans', 'en-US', true);
console.log('i18n_test_4800 ' + value);
expect(value).assertEqual('Chinese');
expect(value).assertEqual('Simplified Chinese');
})
/* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册