From bc7d5ce06b0f712d092bf37e64453ef701f67f0d Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 15 May 2023 19:12:12 +0300 Subject: [PATCH] Update lint.test.js --- tests/commands/channels/lint.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/commands/channels/lint.test.js b/tests/commands/channels/lint.test.js index 9c758af4..2563ccfc 100644 --- a/tests/commands/channels/lint.test.js +++ b/tests/commands/channels/lint.test.js @@ -13,7 +13,7 @@ it('will show a message if the file contains a syntax error', () => { } catch (err) { expect(err.status).toBe(1) expect(err.stdout).toBe( - `\n> channels:lint\n> node scripts/commands/channels/lint.js\n\n\ntests/__data__/input/sites/lint.channels.xml\n 4:0 Element 'channel': The attribute 'lang' is required but missing.\n\n1 error(s)\n` + `\n> channels:lint\n> node scripts/commands/channels/lint.js tests/__data__/input/sites/lint.channels.xml\n\n\ntests/__data__/input/sites/lint.channels.xml\n 4:0 Element 'channel': The attribute 'lang' is required but missing.\n\n1 error(s)\n` ) } })