提交 344b9881 编写于 作者: C chenxuihui

hilog debug level switch bug fix

Signed-off-by: Nchenxuihui <chenxuhui2@huawei.com>
上级 052067c4
......@@ -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.
先完成此消息的编辑!
想要评论请 注册