Permalink
Browse files

test: remove unused uncaughtException handler

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 committed Jan 22, 2019
1 parent 797111a commit 7d682234a69f50be1d409e6960f5d265149e329e
Showing with 1 addition and 7 deletions.
  1. +1 −7 test/pseudo-tty/test-tty-stdout-end.js
@@ -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.