Skip to content

Commit 22559de

Browse files
committed
test: expand line-merge test coverage
Ensure we cover the case where the first line of log input has trailing whitespace. Signed-off-by: Ryan Graham <[email protected]>
1 parent 4a24281 commit 22559de

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/fixtures/lineMerge.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
this line is just indented and not a continuation
12
This is a line that is so long that
23
it continues onto the next line!
34
Imagine, if you will, a stacktr..SyntaxError: Unexpected identifier

test/fixtures/lineMerge.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
this line is just indented and not a continuation
12
This is a line that is so long that\n it continues onto the next line!
23
Imagine, if you will, a stacktr..SyntaxError: Unexpected identifier\n at Module._compile (module.js:439:25)\n at Object.Module._extensions..js (module.js:474:10)\n at Module.load (module.js:356:32)\n at Function.Module._load (module.js:312:12)\n at Function.Module.runMain (module.js:497:10)\n at startup (node.js:119:16)\n at node.js:906:3

0 commit comments

Comments
 (0)