提交 e1cccb83 编写于 作者: 1 15929983503

hilog日志打印信息优化

Signed-off-by: N15929983503 <duanhaizhen@huawei.com>
上级 209dfbd9
......@@ -260,7 +260,7 @@ describe('HilogJsTest', function () {
it('testHilogJsApi17', 2, function () {
console.info('testHilogJsApi17 start');
try{
hilog.debug(0x3200, "HILOGTEST", "%{public}f", [2.1])
hilog.debug(0x3200, "HILOGTEST", "%{public}d", [2.1])
}catch(error){
console.log(`testHilogJsApi17 got an error: ${JSON.stringify(error)}`)
expect().assertFail();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册