Skip to content

Commit

Permalink
Update tldr-lint.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck authored Sep 29, 2024
1 parent 1858f95 commit e28c935
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specs/tldr-lint.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ describe('Common TLDR formatting errors', function() {
expect(containsOnlyErrors(errors, 'TLDR110')).toBeTruthy();
expect(errors.length).toBe(1);
});

it('TLDR111\t' + linter.ERRORS.TLDR111, function () {
let errors = lintFile('pages/failing/111.md').errors;
expect(containsOnlyErrors(errors, 'TLDR111')).toBeTruthy();
expect(errors.length).toBe(1);
});
});

describe('TLDR pages that are simply correct', function() {
Expand Down

0 comments on commit e28c935

Please sign in to comment.