diff --git a/hiviewdfx/hitracechaintest/entry/src/main/ets/MainAbility/test/ByTraceHiDebugJsunit.test.ets b/hiviewdfx/hitracechaintest/entry/src/main/ets/MainAbility/test/ByTraceHiDebugJsunit.test.ets index 8bc7c69c630e8a7cecd2b6c14d01d0912b3446ef..b58b6e8d66a7faaea0fad1931d1c39fab7138a7c 100644 --- a/hiviewdfx/hitracechaintest/entry/src/main/ets/MainAbility/test/ByTraceHiDebugJsunit.test.ets +++ b/hiviewdfx/hitracechaintest/entry/src/main/ets/MainAbility/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(); }