Skip to content

Commit

Permalink
test: remove unused uncaughtException handler
Browse files Browse the repository at this point in the history
This has been unused since cbc3ef6.

Refs: nodejs#23053
  • Loading branch information
addaleax committed Jan 22, 2019
1 parent ecf6936 commit d8d2d23
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions 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'
}));

process.stdout.end();

0 comments on commit d8d2d23

Please sign in to comment.