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

!3558 hilog isLoggable测试用例适配

Merge pull request !3558 from chenxuihui/master
......@@ -119,7 +119,7 @@ describe('HilogJsTest', function () {
it('testHilogJsApi06', 2, function () {
console.info('testHilogJsApi06 start');
const res = hilog.isLoggable(0xD001400, "HILOGTEST", 3);
expect(res).assertEqual(true);
expect(res).assertEqual(false);
console.info('testHilogJsApi06 end');
})
......@@ -135,7 +135,7 @@ describe('HilogJsTest', function () {
for (var i = 0; i < 1000; i++){
tag += "HILOGTEST"
}
expect(res).assertEqual(true);
expect(res).assertEqual(false);
console.info('testHilogJsApi07 end');
})
......@@ -147,7 +147,7 @@ describe('HilogJsTest', function () {
it('testHilogJsApi08', 2, function () {
console.info('testHilogJsApi08 start');
const res = hilog.isLoggable(0xD001400, "", 3);
expect(res).assertEqual(true);
expect(res).assertEqual(false);
console.info('testHilogJsApi08 end');
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册