Skip to content

Commit c66f25e

Browse files
committed
Added test case for Windows line endings
1 parent 3a5417a commit c66f25e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/comment.js

+6
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ tap.test('multiline string', function (assert) {
149149
'# multiline strings',
150150
'# a',
151151
'# b',
152+
'# c',
153+
'# d',
152154
'',
153155
'1..0',
154156
'# tests 0',
@@ -166,6 +168,10 @@ tap.test('multiline string', function (assert) {
166168
'a',
167169
'b',
168170
].join('\n'));
171+
t.comment([
172+
'c',
173+
'd',
174+
].join('\r\n'));
169175
t.end();
170176
});
171177
});

0 commit comments

Comments
 (0)