Skip to content

Commit 90611be

Browse files
committed
test,net: remove scatological terminology
1 parent c396fbf commit 90611be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/net.js

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)