node/test/pseudo-tty/test-tty-stdin-call-end.js

9 lines
152 B
JavaScript

'use strict';
require('../common');
// This tests verifies that process.stdin.end() does not
// crash the process with ENOTCONN
process.stdin.end();