From f14fdb4532d789dae9a43bc806014a4a8d153e24 Mon Sep 17 00:00:00 2001 From: chenxuihui Date: Mon, 30 May 2022 14:53:23 +0800 Subject: [PATCH] hilog isLoggable xts bug fix Signed-off-by: chenxuihui --- .../entry/src/main/ets/test/ByTraceHiDebugJsunit.test.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiviewdfx/hitracechaintest/entry/src/main/ets/test/ByTraceHiDebugJsunit.test.ets b/hiviewdfx/hitracechaintest/entry/src/main/ets/test/ByTraceHiDebugJsunit.test.ets index 35e5c7e97..826bd4657 100644 --- a/hiviewdfx/hitracechaintest/entry/src/main/ets/test/ByTraceHiDebugJsunit.test.ets +++ b/hiviewdfx/hitracechaintest/entry/src/main/ets/test/ByTraceHiDebugJsunit.test.ets @@ -99,7 +99,7 @@ export default function byTraceHiDebugJsunit() { console.log("************* DFX_HiLog_HiLog_isLoggable_0100 Test start*************"); try { const res = hiLog.isLoggable(0xD000700, "HILOGTEST", 3) - expect(res).assertEqual(true); + expect(res).assertEqual(false); } catch (error) { expect().assertFail(); } -- GitLab