test: replace forEach with for...of
PR-URL: https://github.com/nodejs/node/pull/50611 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
36e4635915
commit
242cbd7d1a
@ -27,7 +27,7 @@ function failAsync(value) {
|
||||
});
|
||||
}
|
||||
|
||||
prefixValues.forEach((prefixValue) => {
|
||||
for (const prefixValue of prefixValues) {
|
||||
fail(prefixValue);
|
||||
failAsync(prefixValue);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user