Skip to content

Commit 73701b2

Browse files
cjihrigtargos
authored andcommitted
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: #31014 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 8c3b8e0 commit 73701b2

2 files changed

+4
-2
lines changed

test/parallel/test-promises-unhandled-proxy-rejections.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ const expectedPromiseWarning = ['Unhandled promise rejection. ' +
1515
'not handled with .catch(). To terminate the ' +
1616
'node process on unhandled promise rejection, ' +
1717
'use the CLI flag `--unhandled-rejections=strict` (see ' +
18-
'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)'];
18+
'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). ' +
19+
'(rejection id: 1)'];
1920

2021
function throwErr() {
2122
throw new Error('Error from proxy');

test/parallel/test-promises-unhandled-symbol-rejections.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ const expectedPromiseWarning = ['Unhandled promise rejection. ' +
1616
'not handled with .catch(). To terminate the ' +
1717
'node process on unhandled promise rejection, ' +
1818
'use the CLI flag `--unhandled-rejections=strict` (see ' +
19-
'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)'];
19+
'https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). ' +
20+
'(rejection id: 1)'];
2021

2122
common.expectWarning({
2223
DeprecationWarning: expectedDeprecationWarning,

0 commit comments

Comments
 (0)