test: console.log removed from test-net-localport

There seems to be an unecessary console log
happening in a test.

PR-URL: https://github.com/nodejs/node/pull/12483
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: David Cai <davidcai1993@yahoo.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
Faiz Halde authored and Yuta Hiroto committed 2017-04-20 05:57:17 +09:00
1 parent f97156623a
commit 3ae670275c
1 file changed
-1
-1
View File
@@ -4,7 +4,6 @@ const assert = require('assert');
const net = require('net');
const server = net.createServer(function(socket) {
console.log(socket.remotePort);
assert.strictEqual(socket.remotePort, common.PORT);
socket.end();
socket.on('close', function() {