mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-19 23:40:12 +01:00
wip
This commit is contained in:
parent
284bf0335f
commit
cfe46ea322
2 changed files with 11 additions and 7 deletions
|
|
@ -626,7 +626,7 @@ test("frontMatterResultVersion3", (t) => new Promise((resolve) => {
|
|||
});
|
||||
}));
|
||||
|
||||
test("convertToResultVersionN", async (t) => {
|
||||
test("convertToResultVersionN", async(t) => {
|
||||
t.plan(6);
|
||||
const options = {
|
||||
"files": [
|
||||
|
|
@ -644,15 +644,12 @@ test("convertToResultVersionN", async (t) => {
|
|||
lintPromise({ ...options, "resultVersion": 1 }),
|
||||
lintPromise({ ...options, "resultVersion": 0 })
|
||||
]);
|
||||
|
||||
const v2 = convertToResultVersion2(version3);
|
||||
t.deepEqual(v2, version2);
|
||||
t.is(v2.toString(), version2.toString());
|
||||
|
||||
const v1 = convertToResultVersion1(version3);
|
||||
t.deepEqual(v1, version1);
|
||||
t.is(v1.toString(), version1.toString());
|
||||
|
||||
const v0 = convertToResultVersion0(version3);
|
||||
t.deepEqual(v0, version0);
|
||||
t.is(v0.toString(), version0.toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue