We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a498492 commit b65c9deCopy full SHA for b65c9de
1 file changed
test/known_issues/test-console-unsafe.js
@@ -0,0 +1,24 @@
1
+'use strict';
2
+// Refs: https://github.com/nodejs/node/issues/831
3
+//
4
+// Should fail in: 5.8.0
5
+// With output:
6
+/*
7
+Error: This socket is closed.
8
+ at WriteStream.Socket._writeGeneric (net.js:646:19)
9
+ at WriteStream.Socket._write (net.js:698:8)
10
+ at doWrite (_stream_writable.js:301:12)
11
+ at writeOrBuffer (_stream_writable.js:287:5)
12
+ at WriteStream.Writable.write (_stream_writable.js:215:11)
13
+ at WriteStream.Socket.write (net.js:624:40)
14
+ at Console.log (console.js:36:16)
15
+ at ping [as _repeat] (test/known_issues/test-console-unsafe.js:15:11)
16
+ at wrapper [as _onTimeout] (timers.js:275:11)
17
+ at Timer.listOnTimeout (timers.js:92:15)
18
+*/
19
+// Fixed in: ...
20
+require('../common');
21
+
22
+delete process.stdout._handle;
23
24
+console.log('ping');
0 commit comments