Skip to content

Commit 055382b

Browse files
committed
normalize line-endings
1 parent 0c77baa commit 055382b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/md2html/fixtures/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/md2html/md2html.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe("v3.0 - Validate examples", async () => {
1212
const expected = readFileSync(
1313
folder + entry.name.replace(".md", ".html"),
1414
"utf8",
15-
);
15+
).split(/\r\n|\n/).join("\n");
1616
const output = await md2html([entry.name], folder);
1717
expect(output.stdout).to.equal(expected);
1818
});

0 commit comments

Comments
 (0)