Skip to content

Commit 277f343

Browse files
cjihrigZYSzys
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 <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent fc553fd commit 277f343

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)