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: ' ', 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,14 +2786,6 @@ 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: [], children: [],
endColumn: 1, endColumn: 1,
@ -2826,6 +2818,8 @@ Generated by [AVA](https://avajs.dev).
text: ' ', text: ' ',
type: 'whitespace', type: 'whitespace',
}, },
{
children: [
{ {
children: [], children: [],
endColumn: 8, endColumn: 8,
@ -2835,6 +2829,14 @@ Generated by [AVA](https://avajs.dev).
text: '-----', text: '-----',
type: 'tableDelimiterFiller', type: 'tableDelimiterFiller',
}, },
],
endColumn: 8,
endLine: 48,
startColumn: 3,
startLine: 48,
text: '-----',
type: 'tableContent',
},
{ {
children: [], children: [],
endColumn: 9, endColumn: 9,
@ -2844,6 +2846,16 @@ Generated by [AVA](https://avajs.dev).
text: ' ', text: ' ',
type: 'whitespace', type: 'whitespace',
}, },
],
endColumn: 9,
endLine: 48,
startColumn: 1,
startLine: 48,
text: '| ----- ',
type: 'tableDelimiter',
},
{
children: [
{ {
children: [], children: [],
endColumn: 10, endColumn: 10,
@ -2853,16 +2865,6 @@ Generated by [AVA](https://avajs.dev).
text: '|', text: '|',
type: 'tableCellDivider', type: 'tableCellDivider',
}, },
],
endColumn: 10,
endLine: 48,
startColumn: 1,
startLine: 48,
text: '| ----- |',
type: 'tableDelimiter',
},
{
children: [
{ {
children: [], children: [],
endColumn: 11, endColumn: 11,
@ -2872,6 +2874,8 @@ Generated by [AVA](https://avajs.dev).
text: ' ', text: ' ',
type: 'whitespace', type: 'whitespace',
}, },
{
children: [
{ {
children: [], children: [],
endColumn: 18, endColumn: 18,
@ -2881,6 +2885,14 @@ Generated by [AVA](https://avajs.dev).
text: '-------', text: '-------',
type: 'tableDelimiterFiller', type: 'tableDelimiterFiller',
}, },
],
endColumn: 18,
endLine: 48,
startColumn: 11,
startLine: 48,
text: '-------',
type: 'tableContent',
},
{ {
children: [], children: [],
endColumn: 19, endColumn: 19,
@ -2902,9 +2914,9 @@ Generated by [AVA](https://avajs.dev).
], ],
endColumn: 20, endColumn: 20,
endLine: 48, endLine: 48,
startColumn: 10, startColumn: 9,
startLine: 48, startLine: 48,
text: ' ------- |', text: '| ------- |',
type: 'tableDelimiter', type: 'tableDelimiter',
}, },
], ],
@ -2915,6 +2927,15 @@ Generated by [AVA](https://avajs.dev).
text: '| ----- | ------- |', text: '| ----- | ------- |',
type: 'tableDelimiterRow', type: 'tableDelimiterRow',
}, },
],
endColumn: 20,
endLine: 48,
startColumn: 1,
startLine: 47,
text: `| Table | Heading |␊
| ----- | ------- |`,
type: 'tableHead',
},
{ {
children: [], children: [],
endColumn: 1, endColumn: 1,
@ -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',
}, },
], ],