提交 f14fdb45 编写于 作者: C chenxuihui

hilog isLoggable xts bug fix

Signed-off-by: Nchenxuihui <chenxuhui2@huawei.com>
上级 9f6c686f
...@@ -99,7 +99,7 @@ export default function byTraceHiDebugJsunit() { ...@@ -99,7 +99,7 @@ export default function byTraceHiDebugJsunit() {
console.log("************* DFX_HiLog_HiLog_isLoggable_0100 Test start*************"); console.log("************* DFX_HiLog_HiLog_isLoggable_0100 Test start*************");
try { try {
const res = hiLog.isLoggable(0xD000700, "HILOGTEST", 3) const res = hiLog.isLoggable(0xD000700, "HILOGTEST", 3)
expect(res).assertEqual(true); expect(res).assertEqual(false);
} catch (error) { } catch (error) {
expect().assertFail(); expect().assertFail();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册