Skip to content

Commit d762fc3

Browse files
committed
test: fix test-cli-node-options on Windows
nodejs#16495 broke the Windows build, accounting for `\r\n` newlines should fix it. Ref: nodejs#16495
1 parent 5c475a7 commit d762fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-cli-node-options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (common.hasCrypto) {
3434
expect('--abort_on-uncaught_exception', 'B\n');
3535
expect('--max-old-space-size=0', 'B\n');
3636
expect('--stack-trace-limit=100',
37-
/(\s*at f \(\[eval\]:1:\d*\)\n){100}/,
37+
/(\s*at f \(\[eval\]:1:\d*\)\r?\n){100}/,
3838
'(function f() { f(); })();',
3939
true);
4040

0 commit comments

Comments
 (0)