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 fhinkel committed Nov 11, 2017
1 parent d8f1cb4 commit 34006d6
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 34006d6

Please sign in to comment.