From 6f2bd890b7c7640e4b00f775f520ff10557dfe7e Mon Sep 17 00:00:00 2001 From: arthurw1 Date: Tue, 29 Dec 2020 23:41:27 +0800 Subject: [PATCH] Fix test --- test/lib/utils.public.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/utils.public.test.js b/test/lib/utils.public.test.js index 57c837ea..e7758529 100644 --- a/test/lib/utils.public.test.js +++ b/test/lib/utils.public.test.js @@ -103,7 +103,7 @@ tap.test('prettifyMessage', t => { t.test('returns message formatted by `messageFormat` option - levelLabel', async t => { const str = prettifyMessage({ log: { msg: 'foo', context: 'appModule', level: 30 }, messageFormat: '[{level}] {levelLabel} {context} - {msg}' }) - t.is(str, '[30] INFO appModule - foo') + t.is(str, '[30] INFO appModule - foo') }) t.test('`messageFormat` supports nested curly brackets', async t => {