mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: fix test-cli-node-options on Windows
https://github.com/nodejs/node/pull/16495 broke the Windows build, accounting for `\r\n` newlines should fix it. Ref: https://github.com/nodejs/node/pull/16495 PR-URL: https://github.com/nodejs/node/pull/16709 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
1 parent
fdf9601a91
commit
439112a91b
1 file changed
+1
-1
@@ -35,7 +35,7 @@ if (common.hasCrypto) {
|
||||
expect('--abort_on-uncaught_exception', 'B\n');
|
||||
expect('--max-old-space-size=0', 'B\n');
|
||||
expect('--stack-trace-limit=100',
|
||||
/(\s*at f \(\[eval\]:1:\d*\)\n){100}/,
|
||||
/(\s*at f \(\[eval\]:1:\d*\)\r?\n){100}/,
|
||||
'(function f() { f(); })();',
|
||||
true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user