提交 c9717844 编写于 作者: H hu0475

完成global子系统i18n,resourceManager模块的跨平台测试套

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
上级 c119bebd
......@@ -638,7 +638,7 @@ describe('I18nTest', function () {
calendar.setTimeZone('Asia/Shanghai');
let value = calendar.getTimeZone();
console.log('testSetTimeZoneAndGetTimeZone001 ' + value);
expect(['China Standard Time', 'Asia/Shanghai'].indexOf(value) != -1).assertTrue();
expect(value).assertEqual('Asia/Shanghai')
})
/**
......@@ -655,7 +655,7 @@ describe('I18nTest', function () {
calendar.setTimeZone('AAA');
let value = calendar.getTimeZone();
console.log('testSetTimeZoneAndGetTimeZone002 ' + value);
expect(['GMT', 'Etc/Unknown'].indexOf(value) != -1).assertTrue();
expect(value).assertEqual('Etc/Unknown')
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册