Skip to content

Commit

Permalink
test: console.log removed from test-net-localport
Browse files Browse the repository at this point in the history
There seems to be an unecessary console log
happening in a test.

PR-URL: #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>
  • Loading branch information
fhalde authored and evanlucas committed Apr 25, 2017
1 parent 7f7f872 commit d18c622
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/parallel/test-net-localport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d18c622

Please sign in to comment.