提交 4edd7c86 编写于 作者: O openharmony_ci 提交者: Gitee

!562 事件测试套修改

Merge pull request !562 from jiyong/master
......@@ -94,12 +94,11 @@ describe('TimeTest', function() {
*/
it('systemTime_setTime_test4', 0, async function (done) {
console.log("SUB_systemTime_setTime_JS_API_0400 start")
expect(1).assertLarger(0)
systemTime.setTime(-1, (error, data) => {
console.log("setTime ===data: " + data);
console.log("setTime ===error: " + error);
}).catch(error=> {
execpt(0).assertLarger(1)
expect(1).assertLarger(0)
})
console.log('SUB_systemTime_setTime_JS_API_0400 end');
done()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册