diff --git a/packages/remark-stringify/test.js b/packages/remark-stringify/test.js index f3f0dc49..a67f3384 100644 --- a/packages/remark-stringify/test.js +++ b/packages/remark-stringify/test.js @@ -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)')