test: remove unused uncaughtException handler

This has been unused since cbc3ef64ce.

Refs: https://github.com/nodejs/node/pull/23053

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Anna Henningsen 2019-01-22 16:48:45 +01:00
parent 06da364be2
commit 573ec5b022
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

View File

@ -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();