From 1eb38b0b4f0253b3cf81669d52424e86ad39c7af Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 22 Jan 2019 16:48:45 +0100 Subject: [PATCH] test: remove unused uncaughtException handler This has been unused since cbc3ef64ceaf95ec1. Refs: https://github.com/nodejs/node/pull/23053 PR-URL: https://github.com/nodejs/node/pull/25641 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Jeremiah Senkpiel Reviewed-By: Michael Dawson --- test/pseudo-tty/test-tty-stdout-end.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/pseudo-tty/test-tty-stdout-end.js b/test/pseudo-tty/test-tty-stdout-end.js index 2ec7ca9114db6f..a19682a36df7a6 100644 --- a/test/pseudo-tty/test-tty-stdout-end.js +++ b/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();