Update test snapshots for new tokenization from markdownlint-micromark/micromark-extension-gfm-table.

This commit is contained in:
David Anson 2023-05-13 15:36:45 -07:00
parent f9ca97a527
commit 99ef8f8e7e
3 changed files with 150 additions and 129 deletions

View file

@ -2705,6 +2705,16 @@ Generated by [AVA](https://avajs.dev).
text: ' ',
type: 'whitespace',
},
],
endColumn: 9,
endLine: 47,
startColumn: 1,
startLine: 47,
text: '| Table ',
type: 'tableHeader',
},
{
children: [
{
children: [],
endColumn: 10,
@ -2714,16 +2724,6 @@ Generated by [AVA](https://avajs.dev).
text: '|',
type: 'tableCellDivider',
},
],
endColumn: 10,
endLine: 47,
startColumn: 1,
startLine: 47,
text: '| Table |',
type: 'tableHeader',
},
{
children: [
{
children: [],
endColumn: 11,
@ -2773,9 +2773,9 @@ Generated by [AVA](https://avajs.dev).
],
endColumn: 20,
endLine: 47,
startColumn: 10,
startColumn: 9,
startLine: 47,
text: ' Heading |',
text: '| Heading |',
type: 'tableHeader',
},
],
@ -2786,134 +2786,155 @@ Generated by [AVA](https://avajs.dev).
text: '| Table | Heading |',
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: 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,
children: [],
endColumn: 1,
endLine: 48,
startColumn: 1,
startLine: 48,
text: '| ----- |',
type: 'tableDelimiter',
startColumn: 20,
startLine: 47,
text: `␊
`,
type: 'lineEnding',
},
{
children: [
{
children: [],
endColumn: 11,
children: [
{
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,
startColumn: 10,
startColumn: 1,
startLine: 48,
text: ' ',
type: 'whitespace',
text: '| ----- ',
type: 'tableDelimiter',
},
{
children: [],
endColumn: 18,
endLine: 48,
startColumn: 11,
startLine: 48,
text: '-------',
type: 'tableDelimiterFiller',
},
{
children: [],
endColumn: 19,
endLine: 48,
startColumn: 18,
startLine: 48,
text: ' ',
type: 'whitespace',
},
{
children: [],
children: [
{
children: [],
endColumn: 10,
endLine: 48,
startColumn: 9,
startLine: 48,
text: '|',
type: 'tableCellDivider',
},
{
children: [],
endColumn: 11,
endLine: 48,
startColumn: 10,
startLine: 48,
text: ' ',
type: 'whitespace',
},
{
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,
endLine: 48,
startColumn: 19,
startColumn: 9,
startLine: 48,
text: '|',
type: 'tableCellDivider',
text: '| ------- |',
type: 'tableDelimiter',
},
],
endColumn: 20,
endLine: 48,
startColumn: 10,
startColumn: 1,
startLine: 48,
text: ' ------- |',
type: 'tableDelimiter',
text: '| ----- | ------- |',
type: 'tableDelimiterRow',
},
],
endColumn: 20,
endLine: 48,
startColumn: 1,
startLine: 48,
text: '| ----- | ------- |',
type: 'tableDelimiterRow',
startLine: 47,
text: `| Table | Heading |␊
| ----- | ------- |`,
type: 'tableHead',
},
{
children: [],
@ -2977,6 +2998,16 @@ Generated by [AVA](https://avajs.dev).
text: ' ',
type: 'whitespace',
},
],
endColumn: 9,
endLine: 49,
startColumn: 1,
startLine: 49,
text: '| Table ',
type: 'tableData',
},
{
children: [
{
children: [],
endColumn: 10,
@ -2986,16 +3017,6 @@ Generated by [AVA](https://avajs.dev).
text: '|',
type: 'tableCellDivider',
},
],
endColumn: 10,
endLine: 49,
startColumn: 1,
startLine: 49,
text: '| Table |',
type: 'tableData',
},
{
children: [
{
children: [],
endColumn: 11,
@ -3045,9 +3066,9 @@ Generated by [AVA](https://avajs.dev).
],
endColumn: 20,
endLine: 49,
startColumn: 10,
startColumn: 9,
startLine: 49,
text: ' Cell |',
text: '| Cell |',
type: 'tableData',
},
],