Skip to content

Commit

Permalink
update tests for changes in mdast-util-to-markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Dec 26, 2022
1 parent 9af1a87 commit 28aa8b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/remark-stringify/test.js
Expand Up @@ -439,10 +439,9 @@ test('stringify escapes', (t) => {
t.equal(toString('a#b'), 'a#b\n', '`#` (in phrasing)')
t.equal(toString('*a'), '\\*a\n', '`*` (at the start of a line)')
t.equal(toString('a*b'), 'a\\*b\n', '`*` (in content)')
t.equal(toString('-a'), '\\-a\n', '`-` (at the start of a line)')
t.equal(toString('- a'), '\\- a\n', '`-` (at the start of a line)')
t.equal(toString('a-b'), 'a-b\n', '`-` (in phrasing)')
t.equal(toString('+a'), '\\+a\n', '`+` (at the start of the line)')
t.equal(toString('+a'), '\\+a\n', '`+` (phrasing)')
t.equal(toString('+ a'), '\\+ a\n', '`+` (at the start of the line)')
t.equal(toString('.a'), '.a\n', '`.`')
t.equal(toString('1.a'), '1.a\n', '`.` (after digit before letter)')
t.equal(toString('1. '), '1\\. \n', '`.` (after digit, with space)')
Expand Down

0 comments on commit 28aa8b9

Please sign in to comment.