From f8091004064c22aac811eb890393c919192d07cb Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Fri, 28 Jun 2019 14:53:39 +0200 Subject: [PATCH] fix(tools): Correct broken test --- tools/lint/lint.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lint/lint.test.js b/tools/lint/lint.test.js index 212f0f2c4c..b29032d87c 100644 --- a/tools/lint/lint.test.js +++ b/tools/lint/lint.test.js @@ -45,7 +45,7 @@ describe('markdown linter', () => { function callback() { const expected = // eslint-disable-next-line max-len - 'fixtures/badYML.md: 19: yaml-linter YAML code blocks must be valid [bad indentation of a mapping entry at line 3, column 17:\n testString: testString\n ^] [Context: "```yml"]'; + 'badYML.md: 19: yaml-linter YAML code blocks should be valid [bad indentation of a mapping entry at line 3, column 17:\n testString: testString\n ^] [Context: "```yml"]'; expect(console.log.mock.calls.length).toBe(1); expect(console.log.mock.calls[0][0]).toEqual( expect.stringContaining(expected)