diff --git a/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js b/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js index 4577dfbc77288cf7edde053cf46f9dd090985010..788b00bfb5c04061b4a7df24fc1173384c1b5a9e 100755 --- a/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js +++ b/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js @@ -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'); })