mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Fix possible exceptions due to addError's range/editColumn out of range, update test-extra to use test.serial() for better progress.
This commit is contained in:
parent
e7d3708056
commit
9b5f6a28f9
8 changed files with 19 additions and 18 deletions
|
|
@ -18,7 +18,7 @@ for (const file of files) {
|
|||
strings[content.length.toString()] = content;
|
||||
content = content.slice(0, -1);
|
||||
}
|
||||
test(`type ${file}`, (t) => {
|
||||
test.serial(`type ${file}`, (t) => {
|
||||
t.plan(1);
|
||||
markdownlint.sync({
|
||||
// @ts-ignore
|
||||
|
|
|
|||
|
|
@ -6521,7 +6521,7 @@ Generated by [AVA](https://avajs.dev).
|
|||
errorDetail: 'Expected: 0; Actual: 1',
|
||||
errorRange: [
|
||||
1,
|
||||
3,
|
||||
4,
|
||||
],
|
||||
fixInfo: {
|
||||
deleteCount: 1,
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue