Skip to content

Commit

Permalink
chore: run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DMartens committed Mar 30, 2024
1 parent 6abc764 commit b45e749
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/lib/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -757,12 +757,13 @@ describe("processor", () => {

it("should ignore messages after the code block", () => {
const empty = [
'```javascript',
'```',
].join('\n');
processor.preprocess(empty, 'empty.md');
const message = { message: 'Empty file', ruleId: null, line: 2 };
const result = processor.postprocess([[message]], 'empty.md');
"```javascript",
"```"
].join("\n");

processor.preprocess(empty, "empty.md");
const message = { message: "Empty file", ruleId: null, line: 2 };
const result = processor.postprocess([[message]], "empty.md");

assert.deepStrictEqual(result, []);
});
Expand Down

0 comments on commit b45e749

Please sign in to comment.