Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fbc7451

Browse filesBrowse files
tanvikinievanlucas
authored andcommitted
test: replace string concatenation with template
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>
1 parent b46714c commit fbc7451
Copy full SHA for fbc7451

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/fixtures/guess-hash-seed.js‎

Copy file name to clipboardExpand all lines: test/fixtures/guess-hash-seed.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const slow_str_gen = (function*() {
134134
let strgen_i = 0;
135135
outer:
136136
while (1) {
137-
const str = '#' + (strgen_i++);
137+
const str = `#${strgen_i++}`;
138138
for (let i = 0; i < 1000; i++) {
139139
if (time_set_lookup(tester_set, str) < tester_set_treshold)
140140
continue outer;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.