Skip to content

Commit

Permalink
test: replace string concatenation with template
Browse files Browse the repository at this point in the history
PR-URL: #16913
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
tanvikini authored and MylesBorins committed Nov 28, 2017
1 parent a368e5f commit 9d4abaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/guess-hash-seed.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const slow_str_gen = (function*() {
let strgen_i = 0;
outer:
while (1) {
const str = '#' + (strgen_i++);
const str = `#${strgen_i++}`;
for (let i = 0; i < 1000; i++) {
if (time_set_lookup(tester_set, str) < tester_set_treshold)
continue outer;
Expand Down

0 comments on commit 9d4abaa

Please sign in to comment.