We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e876e6 commit eeab007Copy full SHA for eeab007
test/parallel/test-net-after-close.js
@@ -24,10 +24,10 @@ const common = require('../common');
24
const assert = require('assert');
25
const net = require('net');
26
27
-const server = net.createServer(function(s) {
+const server = net.createServer(common.mustCall(function(s) {
28
console.error('SERVER: got connection');
29
s.end();
30
-});
+}));
31
32
server.listen(0, common.mustCall(function() {
33
const c = net.createConnection(this.address().port);
0 commit comments