diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-01-22 16:48:45 +0100 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-01-27 20:45:42 +0100 |
commit | 573ec5b0229da2fb6263987f1456595b7bac8b09 (patch) | |
tree | 0ade2dc2962cced20279513be081170875d73cb8 /test/pseudo-tty | |
parent | 06da364be2d576e9d225ba13d803ebbc0284cfb9 (diff) | |
download | node-new-573ec5b0229da2fb6263987f1456595b7bac8b09.tar.gz |
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 <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>
Diffstat (limited to 'test/pseudo-tty')
-rw-r--r-- | test/pseudo-tty/test-tty-stdout-end.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/pseudo-tty/test-tty-stdout-end.js b/test/pseudo-tty/test-tty-stdout-end.js index 2ec7ca9114..a19682a36d 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(); |