mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update test snapshots for new tokenization from markdownlint-micromark/micromark-extension-gfm-table.
This commit is contained in:
parent
f9ca97a527
commit
99ef8f8e7e
3 changed files with 150 additions and 129 deletions
|
|
@ -2705,6 +2705,16 @@ Generated by [AVA](https://avajs.dev).
|
||||||
text: ' ',
|
text: ' ',
|
||||||
type: 'whitespace',
|
type: 'whitespace',
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
endColumn: 9,
|
||||||
|
endLine: 47,
|
||||||
|
startColumn: 1,
|
||||||
|
startLine: 47,
|
||||||
|
text: '| Table ',
|
||||||
|
type: 'tableHeader',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
children: [
|
||||||
{
|
{
|
||||||
children: [],
|
children: [],
|
||||||
endColumn: 10,
|
endColumn: 10,
|
||||||
|
|
@ -2714,16 +2724,6 @@ Generated by [AVA](https://avajs.dev).
|
||||||
text: '|',
|
text: '|',
|
||||||
type: 'tableCellDivider',
|
type: 'tableCellDivider',
|
||||||
},
|
},
|
||||||
],
|
|
||||||
endColumn: 10,
|
|
||||||
endLine: 47,
|
|
||||||
startColumn: 1,
|
|
||||||
startLine: 47,
|
|
||||||
text: '| Table |',
|
|
||||||
type: 'tableHeader',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [
|
|
||||||
{
|
{
|
||||||
children: [],
|
children: [],
|
||||||
endColumn: 11,
|
endColumn: 11,
|
||||||
|
|
@ -2773,9 +2773,9 @@ Generated by [AVA](https://avajs.dev).
|
||||||
],
|
],
|
||||||
endColumn: 20,
|
endColumn: 20,
|
||||||
endLine: 47,
|
endLine: 47,
|
||||||
startColumn: 10,
|
startColumn: 9,
|
||||||
startLine: 47,
|
startLine: 47,
|
||||||
text: ' Heading |',
|
text: '| Heading |',
|
||||||
type: 'tableHeader',
|
type: 'tableHeader',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
@ -2786,134 +2786,155 @@ Generated by [AVA](https://avajs.dev).
|
||||||
text: '| Table | Heading |',
|
text: '| Table | Heading |',
|
||||||
type: 'tableRow',
|
type: 'tableRow',
|
||||||
},
|
},
|
||||||
],
|
|
||||||
endColumn: 20,
|
|
||||||
endLine: 47,
|
|
||||||
startColumn: 1,
|
|
||||||
startLine: 47,
|
|
||||||
text: '| Table | Heading |',
|
|
||||||
type: 'tableHead',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [],
|
|
||||||
endColumn: 1,
|
|
||||||
endLine: 48,
|
|
||||||
startColumn: 20,
|
|
||||||
startLine: 47,
|
|
||||||
text: `␊
|
|
||||||
`,
|
|
||||||
type: 'lineEnding',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [
|
|
||||||
{
|
{
|
||||||
children: [
|
children: [],
|
||||||
{
|
endColumn: 1,
|
||||||
children: [],
|
|
||||||
endColumn: 2,
|
|
||||||
endLine: 48,
|
|
||||||
startColumn: 1,
|
|
||||||
startLine: 48,
|
|
||||||
text: '|',
|
|
||||||
type: 'tableCellDivider',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [],
|
|
||||||
endColumn: 3,
|
|
||||||
endLine: 48,
|
|
||||||
startColumn: 2,
|
|
||||||
startLine: 48,
|
|
||||||
text: ' ',
|
|
||||||
type: 'whitespace',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [],
|
|
||||||
endColumn: 8,
|
|
||||||
endLine: 48,
|
|
||||||
startColumn: 3,
|
|
||||||
startLine: 48,
|
|
||||||
text: '-----',
|
|
||||||
type: 'tableDelimiterFiller',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [],
|
|
||||||
endColumn: 9,
|
|
||||||
endLine: 48,
|
|
||||||
startColumn: 8,
|
|
||||||
startLine: 48,
|
|
||||||
text: ' ',
|
|
||||||
type: 'whitespace',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [],
|
|
||||||
endColumn: 10,
|
|
||||||
endLine: 48,
|
|
||||||
startColumn: 9,
|
|
||||||
startLine: 48,
|
|
||||||
text: '|',
|
|
||||||
type: 'tableCellDivider',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
endColumn: 10,
|
|
||||||
endLine: 48,
|
endLine: 48,
|
||||||
startColumn: 1,
|
startColumn: 20,
|
||||||
startLine: 48,
|
startLine: 47,
|
||||||
text: '| ----- |',
|
text: `␊
|
||||||
type: 'tableDelimiter',
|
`,
|
||||||
|
type: 'lineEnding',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
children: [],
|
children: [
|
||||||
endColumn: 11,
|
{
|
||||||
|
children: [],
|
||||||
|
endColumn: 2,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 1,
|
||||||
|
startLine: 48,
|
||||||
|
text: '|',
|
||||||
|
type: 'tableCellDivider',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
children: [],
|
||||||
|
endColumn: 3,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 2,
|
||||||
|
startLine: 48,
|
||||||
|
text: ' ',
|
||||||
|
type: 'whitespace',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
children: [],
|
||||||
|
endColumn: 8,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 3,
|
||||||
|
startLine: 48,
|
||||||
|
text: '-----',
|
||||||
|
type: 'tableDelimiterFiller',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
endColumn: 8,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 3,
|
||||||
|
startLine: 48,
|
||||||
|
text: '-----',
|
||||||
|
type: 'tableContent',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
children: [],
|
||||||
|
endColumn: 9,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 8,
|
||||||
|
startLine: 48,
|
||||||
|
text: ' ',
|
||||||
|
type: 'whitespace',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
endColumn: 9,
|
||||||
endLine: 48,
|
endLine: 48,
|
||||||
startColumn: 10,
|
startColumn: 1,
|
||||||
startLine: 48,
|
startLine: 48,
|
||||||
text: ' ',
|
text: '| ----- ',
|
||||||
type: 'whitespace',
|
type: 'tableDelimiter',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
children: [],
|
children: [
|
||||||
endColumn: 18,
|
{
|
||||||
endLine: 48,
|
children: [],
|
||||||
startColumn: 11,
|
endColumn: 10,
|
||||||
startLine: 48,
|
endLine: 48,
|
||||||
text: '-------',
|
startColumn: 9,
|
||||||
type: 'tableDelimiterFiller',
|
startLine: 48,
|
||||||
},
|
text: '|',
|
||||||
{
|
type: 'tableCellDivider',
|
||||||
children: [],
|
},
|
||||||
endColumn: 19,
|
{
|
||||||
endLine: 48,
|
children: [],
|
||||||
startColumn: 18,
|
endColumn: 11,
|
||||||
startLine: 48,
|
endLine: 48,
|
||||||
text: ' ',
|
startColumn: 10,
|
||||||
type: 'whitespace',
|
startLine: 48,
|
||||||
},
|
text: ' ',
|
||||||
{
|
type: 'whitespace',
|
||||||
children: [],
|
},
|
||||||
|
{
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
children: [],
|
||||||
|
endColumn: 18,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 11,
|
||||||
|
startLine: 48,
|
||||||
|
text: '-------',
|
||||||
|
type: 'tableDelimiterFiller',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
endColumn: 18,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 11,
|
||||||
|
startLine: 48,
|
||||||
|
text: '-------',
|
||||||
|
type: 'tableContent',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
children: [],
|
||||||
|
endColumn: 19,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 18,
|
||||||
|
startLine: 48,
|
||||||
|
text: ' ',
|
||||||
|
type: 'whitespace',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
children: [],
|
||||||
|
endColumn: 20,
|
||||||
|
endLine: 48,
|
||||||
|
startColumn: 19,
|
||||||
|
startLine: 48,
|
||||||
|
text: '|',
|
||||||
|
type: 'tableCellDivider',
|
||||||
|
},
|
||||||
|
],
|
||||||
endColumn: 20,
|
endColumn: 20,
|
||||||
endLine: 48,
|
endLine: 48,
|
||||||
startColumn: 19,
|
startColumn: 9,
|
||||||
startLine: 48,
|
startLine: 48,
|
||||||
text: '|',
|
text: '| ------- |',
|
||||||
type: 'tableCellDivider',
|
type: 'tableDelimiter',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
endColumn: 20,
|
endColumn: 20,
|
||||||
endLine: 48,
|
endLine: 48,
|
||||||
startColumn: 10,
|
startColumn: 1,
|
||||||
startLine: 48,
|
startLine: 48,
|
||||||
text: ' ------- |',
|
text: '| ----- | ------- |',
|
||||||
type: 'tableDelimiter',
|
type: 'tableDelimiterRow',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
endColumn: 20,
|
endColumn: 20,
|
||||||
endLine: 48,
|
endLine: 48,
|
||||||
startColumn: 1,
|
startColumn: 1,
|
||||||
startLine: 48,
|
startLine: 47,
|
||||||
text: '| ----- | ------- |',
|
text: `| Table | Heading |␊
|
||||||
type: 'tableDelimiterRow',
|
| ----- | ------- |`,
|
||||||
|
type: 'tableHead',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
children: [],
|
children: [],
|
||||||
|
|
@ -2977,6 +2998,16 @@ Generated by [AVA](https://avajs.dev).
|
||||||
text: ' ',
|
text: ' ',
|
||||||
type: 'whitespace',
|
type: 'whitespace',
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
endColumn: 9,
|
||||||
|
endLine: 49,
|
||||||
|
startColumn: 1,
|
||||||
|
startLine: 49,
|
||||||
|
text: '| Table ',
|
||||||
|
type: 'tableData',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
children: [
|
||||||
{
|
{
|
||||||
children: [],
|
children: [],
|
||||||
endColumn: 10,
|
endColumn: 10,
|
||||||
|
|
@ -2986,16 +3017,6 @@ Generated by [AVA](https://avajs.dev).
|
||||||
text: '|',
|
text: '|',
|
||||||
type: 'tableCellDivider',
|
type: 'tableCellDivider',
|
||||||
},
|
},
|
||||||
],
|
|
||||||
endColumn: 10,
|
|
||||||
endLine: 49,
|
|
||||||
startColumn: 1,
|
|
||||||
startLine: 49,
|
|
||||||
text: '| Table |',
|
|
||||||
type: 'tableData',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
children: [
|
|
||||||
{
|
{
|
||||||
children: [],
|
children: [],
|
||||||
endColumn: 11,
|
endColumn: 11,
|
||||||
|
|
@ -3045,9 +3066,9 @@ Generated by [AVA](https://avajs.dev).
|
||||||
],
|
],
|
||||||
endColumn: 20,
|
endColumn: 20,
|
||||||
endLine: 49,
|
endLine: 49,
|
||||||
startColumn: 10,
|
startColumn: 9,
|
||||||
startLine: 49,
|
startLine: 49,
|
||||||
text: ' Cell |',
|
text: '| Cell |',
|
||||||
type: 'tableData',
|
type: 'tableData',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue