Commit d6c9f64e authored by Jeremiah Senkpiel's avatar Jeremiah Senkpiel
Browse files

test: stdin is not always a net.Socket

`<`-ing a file into stdin actually results in a `fs.ReadStream`, rather
than a `tty.ReadStream`, and as such does not inherit from net.Socket,
unlike the other possible stdin options.

Refs: https://github.com/nodejs/node/pull/5916
PR-URL: https://github.com/nodejs/node/pull/5935


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 1845c4fd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment