提交 8a3d6b8d 编写于 作者: Z zhangdd_ewan

改测试用例判断条件

Signed-off-by: Nzhangdd_ewan <zhangdongdong50@huawei.com>
上级 5570d11a
...@@ -310,7 +310,7 @@ describe('CalendarInI18nTest', function () { ...@@ -310,7 +310,7 @@ describe('CalendarInI18nTest', function () {
calendar.setTimeZone('Asia/Shanghai'); calendar.setTimeZone('Asia/Shanghai');
let value = calendar.getTimeZone(); let value = calendar.getTimeZone();
console.log('i18n_calendar_test_1800 ' + value); console.log('i18n_calendar_test_1800 ' + value);
expect(value).assertEqual('China Standard Time'); expect(value).assertEqual('Asia/Shanghai');
}) })
/** /**
...@@ -324,7 +324,7 @@ describe('CalendarInI18nTest', function () { ...@@ -324,7 +324,7 @@ describe('CalendarInI18nTest', function () {
calendar.setTimeZone('AAA'); calendar.setTimeZone('AAA');
let value = calendar.getTimeZone(); let value = calendar.getTimeZone();
console.log('i18n_calendar_test_1900 ' + value); console.log('i18n_calendar_test_1900 ' + value);
expect(value).assertEqual('GMT'); expect(value).assertEqual('Etc/Unknown');
}) })
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册