From 26f1a1d9e95b91d29387f71b19ba76059b62e9f8 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Fri, 3 Nov 2017 08:58:51 +0100 Subject: [PATCH] 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 Reviewed-By: Richard Lau --- test/parallel/test-cli-node-options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-cli-node-options.js b/test/parallel/test-cli-node-options.js index 07c99a57c667cf..4febf1ca1bdd1c 100644 --- a/test/parallel/test-cli-node-options.js +++ b/test/parallel/test-cli-node-options.js @@ -34,7 +34,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);