summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-markdown/test/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-markdown/test/page.js')
-rw-r--r--packages/gitbook-markdown/test/page.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-markdown/test/page.js b/packages/gitbook-markdown/test/page.js
index 8b882d8..fac5ec4 100644
--- a/packages/gitbook-markdown/test/page.js
+++ b/packages/gitbook-markdown/test/page.js
@@ -18,8 +18,8 @@ describe('Page parsing', function() {
});
it('should not add id to headings', function() {
- assert.equal(page('# Hello').content, '<h1>Hello</h1>\n');
- assert.equal(page('# Hello {#test}').content, '<h1 id="test">Hello </h1>\n');
+ assert.equal(page('# Hello').content, '<h1>Hello</h1>');
+ assert.equal(page('# Hello {#test}').content, '<h1 id="test">Hello</h1>');
});
it('should escape codeblocks in preparation (1)', function() {