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 a77c2de commit 7bd452f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/tldr-lint.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ describe('Common TLDR formatting errors', function() {
expect(errors.length).toBe(1);
});

const invalidCharacters = linter.INVALID_WINDOWS_CHARACTERS;
const invalidCharacters = ['<', '>', ':', '"', '/', '\\', '|', '?', '*'];
invalidCharacters.forEach((char) => {
it('TLDR111\t' + linter.ERRORS.TLDR111 + '\t - ${char}', function() {
const basenameSpy = jest.spyOn(path, 'basename').mockImplementation((filePath) => {
Expand Down

0 comments on commit 7bd452f

Please sign in to comment.