Skip to content

Commit

Permalink
test: change concatenated string to template
Browse files Browse the repository at this point in the history
PR-URL: #16929
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
deesebas authored and evanlucas committed Nov 13, 2017
1 parent 8eb32e1 commit 651fee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fixtures/net-fd-passing-receiver.js
Expand Up @@ -36,12 +36,12 @@ receiver = net.createServer(function(socket) {
});

passedSocket.on('data', function(data) {
passedSocket.send('[echo] ' + data);
passedSocket.send(`[echo] ${data}`);
});
passedSocket.on('close', function() {
receiver.close();
});
passedSocket.send('[greeting] ' + greeting);
passedSocket.send(`[greeting] ${greeting}`);
});
});

Expand Down

0 comments on commit 651fee4

Please sign in to comment.