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 <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
  • Loading branch information
deesebas authored and MylesBorins committed Nov 21, 2017
1 parent b65ff6e commit 8df676c
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 8df676c

Please sign in to comment.