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 MylesBorins committed Nov 17, 2017
1 parent 6e7a444 commit bf9eb04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fixtures/net-fd-passing-receiver.js
Original file line number Diff line number Diff line change
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 bf9eb04

Please sign in to comment.