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 91e2ed4 commit 66387d1
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 @@ -15,12 +15,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 66387d1

Please sign in to comment.