Skip to content

Commit

Permalink
test: replace forEach with for...of
Browse files Browse the repository at this point in the history
PR-URL: #50611
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
SpaceDux authored and targos committed Nov 23, 2023
1 parent 0d556d9 commit 75265e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-fs-mkdtemp-prefix-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function failAsync(value) {
});
}

prefixValues.forEach((prefixValue) => {
for (const prefixValue of prefixValues) {
fail(prefixValue);
failAsync(prefixValue);
});
}

0 comments on commit 75265e4

Please sign in to comment.