From 2a85a428d53e06d1d85bcb9e67f2abeaa2c560ce Mon Sep 17 00:00:00 2001 From: Luis Faustino Date: Mon, 5 Oct 2020 10:52:55 +0100 Subject: [PATCH] fix test - extra space removed --- 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 ae668364..90bf3137 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 => {