diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/markdown.spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/markdown.spec.js b/src/tests/markdown.spec.js index 83ed81c5d..2c69aa9d3 100644 --- a/src/tests/markdown.spec.js +++ b/src/tests/markdown.spec.js @@ -59,12 +59,12 @@ describe('Markdown though editor', () => { expect(markdownThroughEditor('~~Test~~')).toBe('~~Test~~') }) test('ul', () => { - expect(markdownThroughEditor('- foo\n- bar')).toBe('* foo\n\n* bar') - expect(markdownThroughEditor('- foo\n\n- bar')).toBe('* foo\n\n* bar') - expect(markdownThroughEditor('- foo\n\n\n- bar')).toBe('* foo\n\n* bar') + expect(markdownThroughEditor('- foo\n- bar')).toBe('* foo\n* bar') + expect(markdownThroughEditor('- foo\n\n- bar')).toBe('* foo\n* bar') + expect(markdownThroughEditor('- foo\n\n\n- bar')).toBe('* foo\n* bar') }) test('ol', () => { - expect(markdownThroughEditor('1. foo\n2. bar')).toBe('1. foo\n\n2. bar') + expect(markdownThroughEditor('1. foo\n2. bar')).toBe('1. foo\n2. bar') }) test('paragraph', () => { expect(markdownThroughEditor('foo\nbar\n\nfoobar\n\tfoobar')).toBe('foo bar\n\nfoobar foobar') |