From 42f7c214f3f827af2baa9e8076b0f7f58737c4cc Mon Sep 17 00:00:00 2001 From: Abner Chou Date: Tue, 4 Apr 2017 17:22:11 -0400 Subject: [PATCH] Update index.js --- test/index.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/test/index.js b/test/index.js index 3105e3b..68ba71c 100644 --- a/test/index.js +++ b/test/index.js @@ -73,14 +73,14 @@ describe('Marked renderer', function() { var result = r({text: body}); result.should.eql([ - '', - '

normal text [x] [ ]

', - '

[x] [ ] normal text

' - ].join('\n') + '\n'); + '\n', + '

normal text [x] [ ]

\n', + '

[x] [ ] normal text

\n' + ].join('')); }); describe('autolink option tests', function() { @@ -105,9 +105,9 @@ describe('Marked renderer', function() { var result = r({text: body}); result.should.eql([ - '

Great website http://hexo.io

', - '

Hexo

' - ].join('\n')); + '

Great website http://hexo.io

\n', + '

Hexo

\n' + ].join('')); }); it('autolink disabled', function() { @@ -116,9 +116,9 @@ describe('Marked renderer', function() { var result = r({text: body}); result.should.eql([ - '

Great website http://hexo.io

', - '

Hexo

' - ].join('\n')); + '

Great website http://hexo.io

\n', + '

Hexo

\n' + ].join('')); }); });