summaryrefslogtreecommitdiff
path: root/test/parallel/test-net-reconnect.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-net-reconnect.js')
-rw-r--r--test/parallel/test-net-reconnect.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-net-reconnect.js b/test/parallel/test-net-reconnect.js
index 5b66c45e20..c8b1503cea 100644
--- a/test/parallel/test-net-reconnect.js
+++ b/test/parallel/test-net-reconnect.js
@@ -43,7 +43,7 @@ const server = net.createServer(function(socket) {
});
socket.on('close', function(had_error) {
- console.log('SERVER had_error: ' + JSON.stringify(had_error));
+ console.log(`SERVER had_error: ${JSON.stringify(had_error)}`);
assert.strictEqual(false, had_error);
});
});
@@ -60,7 +60,7 @@ server.listen(0, function() {
client.on('data', function(chunk) {
client_recv_count += 1;
- console.log('client_recv_count ' + client_recv_count);
+ console.log(`client_recv_count ${client_recv_count}`);
assert.strictEqual('hello\r\n', chunk);
console.error('CLIENT: calling end', client._writableState);
client.end();