Skip to content

Commit 26f1a1d

Browse files
addaleaxcjihrig
authored andcommitted
test: fix test-cli-node-options on Windows
#16495 broke the Windows build, accounting for `\r\n` newlines should fix it. Ref: #16495 PR-URL: #16709 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent e585c41 commit 26f1a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)