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 <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
SpaceDux authored and UlisesGascon committed Dec 11, 2023
1 parent 97778e2 commit 4d28ced
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 4d28ced

Please sign in to comment.