From 6c00afe698a03046c8504422553b82d382161bcf Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 9 Jun 2017 13:12:39 -0700 Subject: [PATCH] test: use mustNotCall in test-http-eof-on-connect Confirm that callback is not being invoked in test-http-eof-on-connect.js. --- test/parallel/test-http-eof-on-connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http-eof-on-connect.js b/test/parallel/test-http-eof-on-connect.js index 87c6aeca5fb480..7e244354c1cb88 100644 --- a/test/parallel/test-http-eof-on-connect.js +++ b/test/parallel/test-http-eof-on-connect.js @@ -29,7 +29,7 @@ const http = require('http'); // It is separate from test-http-malformed-request.js because it is only // reproduceable on the first packet on the first connection to a server. -const server = http.createServer(common.noop); +const server = http.createServer(common.mustNotCall()); server.listen(0); server.on('listening', function() {