diff --git a/specs/tldr-lint.spec.js b/specs/tldr-lint.spec.js index 2570b63..3973105 100644 --- a/specs/tldr-lint.spec.js +++ b/specs/tldr-lint.spec.js @@ -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) => {