From e02d117ad609139208818fb8526ba6ad9afd542e Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 26 Oct 2020 09:01:22 +0100 Subject: [PATCH] Update tests --- packages/remark-parse/test.js | 1 - packages/remark-stringify/test.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/remark-parse/test.js b/packages/remark-parse/test.js index 3db02e560..278d8878b 100644 --- a/packages/remark-parse/test.js +++ b/packages/remark-parse/test.js @@ -43,7 +43,6 @@ test('remark().parse(file)', function (t) { { type: 'paragraph', children: [ - {type: 'text', value: ''}, { type: 'link', title: null, diff --git a/packages/remark-stringify/test.js b/packages/remark-stringify/test.js index 205031c32..2a98a72b0 100644 --- a/packages/remark-stringify/test.js +++ b/packages/remark-stringify/test.js @@ -407,7 +407,7 @@ test('stringify escapes', function (t) { '![a\\]b]()\n', '`]` (in images)' ) - t.equal(toString('![a'), '\\!\\[a\n', '`!` before `[`') + t.equal(toString('![a'), '!\\[a\n', 'the `[` in `![`') t.equal(toString('a~b'), 'a~b\n', '`~`') t.equal(toString('a|b'), 'a|b\n', '`|`') t.equal(toString('a_b'), 'a_b\n', '`_` (in words)')