mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Reimplement helpers.forEachInlineCodeSpan for ~11% time reduction measured via profile-fixture.mjs on GitHub Codespaces.
This commit is contained in:
parent
d177ee2fc5
commit
6e8a0737b5
3 changed files with 67 additions and 116 deletions
|
@ -391,7 +391,7 @@ test("forEachInlineCodeSpan", (t) => {
|
|||
t.is(column, expectedColumn, input);
|
||||
t.is(ticks, expectedTicks, input);
|
||||
});
|
||||
t.is(expecteds.length, 0, "length");
|
||||
t.is(expecteds.shift(), undefined, input);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue