Skip to content

Commit

Permalink
Fix failing tests (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw authored Apr 9, 2024
1 parent d8de4fd commit 35ff52b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parser/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,13 @@ describe('inline image', () => {
test('image with empty alt text and not completed link', () => {
expect('# ![](example.com)').toBeParsedAs([
{type: 'syntax', start: 0, length: 2},
{type: 'h1', start: 2, length: 12},
{type: 'h1', start: 2, length: 16},
{type: 'syntax', start: 2, length: 1},
{type: 'syntax', start: 3, length: 1},
{type: 'syntax', start: 4, length: 1},
{type: 'syntax', start: 5, length: 1},
{type: 'link', start: 6, length: 7},
{type: 'syntax', start: 13, length: 1},
{type: 'link', start: 6, length: 11},
{type: 'syntax', start: 17, length: 1},
]);
});
});

0 comments on commit 35ff52b

Please sign in to comment.