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 Nov 12, 2023
1 parent 36e4635 commit 242cbd7
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 242cbd7

Please sign in to comment.