mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Reimplement getReferenceLinkImageData using micromark tokens.
This commit is contained in:
parent
57c612cfa4
commit
97f99befb8
13 changed files with 1235 additions and 1068 deletions
|
@ -1433,9 +1433,8 @@ test("getReferenceLinkImageData().shortcuts", (t) => {
|
|||
"tags": [ "-" ],
|
||||
"function":
|
||||
(params) => {
|
||||
const lineMetadata = helpers.getLineMetadata(params);
|
||||
const { shortcuts } =
|
||||
helpers.getReferenceLinkImageData(lineMetadata);
|
||||
helpers.getReferenceLinkImageData(params);
|
||||
t.is(shortcuts.size, 0, [ ...shortcuts.keys() ].join(", "));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue