Skip to content

Commit 4da5bc6

Browse files
committed
Fix test fixtures
1 parent c4d2c30 commit 4da5bc6

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

  • lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-table-pipe-alignment/test/fixtures

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-table-pipe-alignment/test/fixtures/invalid.js

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ test = {
1616
'/**',
1717
'* Squares a number.',
1818
'*',
19-
'* Input | Output',
20-
'* ----- | ------',
21-
'* 2 | 4',
19+
'* | Input | Output |',
20+
'* | ----- | ------ |',
21+
'* | 2 | 4 |',
2222
'*',
2323
'* @param {number} x - input value',
2424
'* @returns {number} output value',
@@ -33,19 +33,7 @@ test = {
3333
].join( '\n' ),
3434
'errors': [
3535
{
36-
'message': 'Missing initial pipe in table fence',
37-
'type': null
38-
},
39-
{
40-
'message': 'Missing final pipe in table fence',
41-
'type': null
42-
},
43-
{
44-
'message': 'Missing initial pipe in table fence',
45-
'type': null
46-
},
47-
{
48-
'message': 'Missing final pipe in table fence',
36+
'message': 'Misaligned table fence',
4937
'type': null
5038
}
5139
]

0 commit comments

Comments
 (0)