Skip to content

Commit 6998591

Browse files
Trottcjihrig
authored andcommitted
test,net: remove scatological terminology
PR-URL: #16599 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
1 parent 1771bb5 commit 6998591

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
@@ -321,7 +321,7 @@ function afterShutdown(status, handle, req) {
321321
// if the writable side has ended already, then clean everything
322322
// up.
323323
function onSocketEnd() {
324-
// XXX Should not have to do as much crap in this function.
324+
// XXX Should not have to do as much in this function.
325325
// ended should already be true, since this is called *after*
326326
// the EOF errno and onread has eof'ed
327327
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)