Skip to content

Commit af311e7

Browse files
committed
test: replace forEach with for..of in test-fs-realpath-buffer-encoding
1 parent 0c58e20 commit af311e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-realpath-buffer-encoding.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const buffer_dir = Buffer.from(string_dir);
1010
const encodings = ['ascii', 'utf8', 'utf16le', 'ucs2',
1111
'base64', 'binary', 'hex'];
1212
const expected = {};
13-
for(const encoding of encodings) {
13+
for (const encoding of encodings) {
1414
expected[encoding] = buffer_dir.toString(encoding);
1515
}
1616

0 commit comments

Comments
 (0)