Skip to content

Commit

Permalink
test: remove unused uncaughtException handler
Browse files Browse the repository at this point in the history
This has been unused since cbc3ef6.

Refs: #23053

PR-URL: #25641
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
addaleax committed Jan 28, 2019
1 parent 797111a commit 7d68223
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/pseudo-tty/test-tty-stdout-end.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
'use strict';
const common = require('../common');

process.on('uncaughtException', common.expectsError({
code: 'ERR_STDOUT_CLOSE',
type: Error,
message: 'process.stdout cannot be closed'
}));
require('../common');

process.stdout.end();

0 comments on commit 7d68223

Please sign in to comment.