summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-01-22 16:48:45 +0100
committerAnna Henningsen <anna@addaleax.net>2019-01-27 20:45:42 +0100
commit573ec5b0229da2fb6263987f1456595b7bac8b09 (patch)
tree0ade2dc2962cced20279513be081170875d73cb8 /test
parent06da364be2d576e9d225ba13d803ebbc0284cfb9 (diff)
downloadandroid-node-v8-573ec5b0229da2fb6263987f1456595b7bac8b09.tar.gz
android-node-v8-573ec5b0229da2fb6263987f1456595b7bac8b09.tar.bz2
android-node-v8-573ec5b0229da2fb6263987f1456595b7bac8b09.zip
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')
-rw-r--r--test/pseudo-tty/test-tty-stdout-end.js8
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();