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 <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
addaleax authored and BethGriggs committed Apr 29, 2019
1 parent f5e2207 commit 1eb38b0
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 1eb38b0

Please sign in to comment.