Skip to content

Commit

Permalink
fix(tools): Correct broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeytonwilliams authored and raisedadead committed Jul 19, 2019
1 parent 924f995 commit f809100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lint/lint.test.js
Expand Up @@ -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)
Expand Down

0 comments on commit f809100

Please sign in to comment.