提交 47af7251 编写于 作者: Y y00314596

add by yangqing3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 a48e7b6e
......@@ -860,7 +860,7 @@ describe('I18nTest', function () {
expect(name).assertEqual('和暦');
let timezone = calendar.getTimeZone();
console.log('i18n_test_7920 ' + timezone);
expect(timezone).assertContain('Time');
expect(timezone.length > 0).assertTrue();
let firstday = calendar.getFirstDayOfWeek();
console.log('i18n_test_7920 ' + firstday);
expect(firstday).assertEqual(1);
......
......@@ -189,7 +189,7 @@ describe('LangTest', function () {
let timezone = I18n.getTimeZone();
let value = timezone.getID();
console.log('timezone_test_0100 ' + value);
expect(value == 'UTC' || value == 'Asia/Shanghai' || value == 'GMT').assertTrue();
expect(value.length > 0).assertTrue();
})
/* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册