Commit f14d71cc authored by Jeremiah Senkpiel's avatar Jeremiah Senkpiel Committed by Myles Borins
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 0a13099c
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