Skip to content

Commit 8dd5b4c

Browse files
authored
test: correct path typos in markdown-language.test.js (#347)
1 parent bbc758b commit 8dd5b4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/language/markdown-language.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe("MarkdownLanguage", () => {
7979
const language = new MarkdownLanguage();
8080
const result = language.parse({
8181
body: "# Hello, World!\n\nHello, World!",
82-
path: "test.css",
82+
path: "test.md",
8383
});
8484

8585
assert.strictEqual(result.ok, true);
@@ -221,7 +221,7 @@ describe("MarkdownLanguage", () => {
221221
const language = new MarkdownLanguage({ mode: "commonmark" });
222222
const file = {
223223
body: "| Column 1 | Column 2 |\n| -------- | -------- |\n| Cell 1 | Cell 2 |",
224-
path: "test.json",
224+
path: "test.md",
225225
};
226226
const parseResult = language.parse(file);
227227
const sourceCode = language.createSourceCode(file, parseResult);
@@ -242,7 +242,7 @@ describe("MarkdownLanguage", () => {
242242
const language = new MarkdownLanguage({ mode: "gfm" });
243243
const file = {
244244
body: "| Column 1 | Column 2 |\n| -------- | -------- |\n| Cell 1 | Cell 2 |",
245-
path: "test.json",
245+
path: "test.md",
246246
};
247247
const parseResult = language.parse(file);
248248
const sourceCode = language.createSourceCode(file, parseResult);

0 commit comments

Comments
 (0)