Skip to content

Commit 72c34cf

Browse files
Trottgibfahn
authored andcommitted
test,net: remove scatological terminology
PR-URL: #16599 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
1 parent b3032d2 commit 72c34cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/net.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function afterShutdown(status, handle, req) {
317317
// if the writable side has ended already, then clean everything
318318
// up.
319319
function onSocketEnd() {
320-
// XXX Should not have to do as much crap in this function.
320+
// XXX Should not have to do as much in this function.
321321
// ended should already be true, since this is called *after*
322322
// the EOF errno and onread has eof'ed
323323
debug('onSocketEnd', this._readableState);

test/parallel/test-async-wrap-uncaughtexception.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ process.on('uncaughtException', common.mustCall(() => {
4242
require('crypto').randomBytes(1, common.mustCall(() => {
4343
assert.strictEqual(call_id, async_hooks.executionAsyncId());
4444
call_log[1]++;
45-
throw new Error('ah crap');
45+
throw new Error();
4646
}));

0 commit comments

Comments
 (0)