From 052067c434c9dec5aa23a50db2927981e0744998 Mon Sep 17 00:00:00 2001 From: chenxuihui Date: Thu, 9 Jun 2022 11:38:25 +0800 Subject: [PATCH] hilog js test suite bugfix Signed-off-by: chenxuihui --- hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js b/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js index dbebb99ef..4577dfbc7 100755 --- a/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js +++ b/hiviewdfx/hilogjstest/src/main/js/default/test/HilogJsTest.js @@ -243,7 +243,7 @@ describe('HilogJsTest', function () { it('testHilogJsApi16', 2, function () { console.info('testHilogJsApi16 start'); try{ - hilog.debug(0xD001400, "HILOGTEST", "%{public}", ['hilogJs1800']) + hilog.debug(0xD001400, "HILOGTEST", "%{public}s", ['hilogJs1800']) }catch(error){ console.log(`testHilogJsApi16 got an error: ${JSON.stringify(error)}`) expect().assertFail(); -- GitLab