From 505b05fb8cd8982f5d83fe28c2dec57d7fcb1951 Mon Sep 17 00:00:00 2001 From: azu Date: Wed, 7 Jan 2015 19:38:19 +0900 Subject: [PATCH] test(parser): fix test for `Document` type --- test/markdown-parser-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/markdown-parser-test.js b/test/markdown-parser-test.js index 6584639..4b2ffb5 100644 --- a/test/markdown-parser-test.js +++ b/test/markdown-parser-test.js @@ -98,7 +98,7 @@ describe("markdown-parser", function () { column: lines[lines.length - 1].length } }); - assert.deepEqual(RootDocument.range, [0, 31]); + assert.deepEqual(RootDocument.range, [0, text.length]); }); }); /*