Skip to content

Commit

Permalink
test: replace forEach with for..of in test-fs-realpath-buffer-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Sep 25, 2023
1 parent aaa1b5a commit 11ee8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-realpath-buffer-encoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const buffer_dir = Buffer.from(string_dir);
const encodings = ['ascii', 'utf8', 'utf16le', 'ucs2',
'base64', 'binary', 'hex'];
const expected = {};
for(const encoding of encodings) {
for (const encoding of encodings) {
expected[encoding] = buffer_dir.toString(encoding);
}

Expand Down

0 comments on commit 11ee8cc

Please sign in to comment.