Commit 63d8296
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: #5916
PR-URL: #5935
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent f60ce10 commit 63d8296Copy full SHA for 63d8296
File tree
Expand file treeCollapse file tree
1 file changed
+19
-0
lines changedOpen diff view settings
Filter options
- test/known_issues
Expand file treeCollapse file tree
1 file changed
+19
-0
lines changedOpen diff view settings
Collapse file
test/known_issues/test-stdin-is-always-net.socket.js
Copy file name to clipboard+19Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
0 commit comments