From 93cf1231db5de04bffdbf359dee5682566f8058b Mon Sep 17 00:00:00 2001 From: cjihrig Date: Tue, 17 Dec 2019 20:52:25 -0500 Subject: [PATCH] test: fix long lines This commit addresses several lines that are unnecessarily longer than the 80 character limit. The only reason they pass linting, I believe, is because they contain URLs. PR-URL: https://github.com/nodejs/node/pull/31014 Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott Reviewed-By: Trivikram Kamat Reviewed-By: Gireesh Punathil Reviewed-By: Anto Aravinth Reviewed-By: Ruben Bridgewater --- test/parallel/test-promises-unhandled-proxy-rejections.js | 3 ++- test/parallel/test-promises-unhandled-symbol-rejections.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-promises-unhandled-proxy-rejections.js b/test/parallel/test-promises-unhandled-proxy-rejections.js index 31d2ed27ed0205..3a4f2d1ba8b3ac 100644 --- a/test/parallel/test-promises-unhandled-proxy-rejections.js +++ b/test/parallel/test-promises-unhandled-proxy-rejections.js @@ -15,7 +15,8 @@ const expectedPromiseWarning = ['Unhandled promise rejection. ' + 'not handled with .catch(). To terminate the ' + 'node process on unhandled promise rejection, ' + 'use the CLI flag `--unhandled-rejections=strict` (see ' + - 'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)']; + 'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). ' + + '(rejection id: 1)']; function throwErr() { throw new Error('Error from proxy'); diff --git a/test/parallel/test-promises-unhandled-symbol-rejections.js b/test/parallel/test-promises-unhandled-symbol-rejections.js index 3672c8700d6744..2851ce977fc4d0 100644 --- a/test/parallel/test-promises-unhandled-symbol-rejections.js +++ b/test/parallel/test-promises-unhandled-symbol-rejections.js @@ -16,7 +16,8 @@ const expectedPromiseWarning = ['Unhandled promise rejection. ' + 'not handled with .catch(). To terminate the ' + 'node process on unhandled promise rejection, ' + 'use the CLI flag `--unhandled-rejections=strict` (see ' + - 'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)']; + 'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). ' + + '(rejection id: 1)']; common.expectWarning({ DeprecationWarning: expectedDeprecationWarning,