summaryrefslogtreecommitdiff
path: root/test/parallel/test-socket-write-after-fin-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-socket-write-after-fin-error.js')
-rw-r--r--test/parallel/test-socket-write-after-fin-error.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-socket-write-after-fin-error.js b/test/parallel/test-socket-write-after-fin-error.js
index 37d042b4c6..4626729c05 100644
--- a/test/parallel/test-socket-write-after-fin-error.js
+++ b/test/parallel/test-socket-write-after-fin-error.js
@@ -17,7 +17,7 @@ let gotServerError = false;
const server = net.createServer(function(sock) {
sock.setEncoding('utf8');
sock.on('error', function(er) {
- console.error(er.code + ': ' + er.message);
+ console.error(`${er.code}: ${er.message}`);
gotServerError = er;
});