Skip to content

Commit

Permalink
Update tests to verify rules can be configured by identifier and by n…
Browse files Browse the repository at this point in the history
…ame (in response to previous commit that changed all test files to use name).
  • Loading branch information
DavidAnson committed Jul 28, 2023
1 parent 07b851b commit 3dedc1c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/markdownlint-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,9 @@ test("disableRules", (t) => new Promise((resolve) => {
const options = {
"files": [
"./test/atx_heading_spacing.md",
"./test/first_heading_bad_atx.md"
"./test/no_first_line_heading.md"
],
"config": {
"MD002": false,
"default": true,
"MD019": false,
"first-line-h1": false
Expand All @@ -253,7 +252,7 @@ test("disableRules", (t) => new Promise((resolve) => {
"./test/atx_heading_spacing.md": {
"MD018": [ 1 ]
},
"./test/first_heading_bad_atx.md": {}
"./test/no_first_line_heading.md": {}
};
// @ts-ignore
t.deepEqual(actualResult, expectedResult, "Undetected issues.");
Expand Down

0 comments on commit 3dedc1c

Please sign in to comment.