From 3dedc1cda1206c47f37e45fd453c44ace5ffb8fb Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 27 Jul 2023 21:42:14 -0700 Subject: [PATCH] Update tests to verify rules can be configured by identifier and by name (in response to previous commit that changed all test files to use name). --- test/markdownlint-test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/markdownlint-test.js b/test/markdownlint-test.js index bbd0803b..2b3d6f3d 100644 --- a/test/markdownlint-test.js +++ b/test/markdownlint-test.js @@ -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 @@ -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.");