FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: fix hidden error in test-http-server-stale-close.js · nodejs/node@b1aa78a · GitHub

/ node Public

Commit b1aa78a

Browse files
authored andcommitted
test: fix hidden error in test-http-server-stale-close.js
PR-URL: #59357 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
1 parent 50174cb commit b1aa78a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-http-server-stale-close.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (process.env.NODE_TEST_FORK_PORT) {
3131
method: 'POST',
3232
host: '127.0.0.1',
3333
port: +process.env.NODE_TEST_FORK_PORT,
34-
}, process.exit);
34+
}, () => process.exit(0));
3535
req.write('BAM');
3636
req.end();
3737
} else {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL