Skip to content

Commit a6398cc

Browse files
committed
test: cover mixed-case UTF-8 realpath aliases
1 parent 75fc6b3 commit a6398cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const string_dir = fs.realpathSync(fixtures.fixturesDir);
88
const buffer_dir = Buffer.from(string_dir);
99

1010
const encodings = ['ascii', 'utf8', 'utf16le', 'ucs2',
11-
'base64', 'binary', 'hex', 'UTF8', 'UTF-8'];
11+
'base64', 'binary', 'hex', 'UTF8', 'UTF-8', 'Utf8', 'Utf-8'];
1212
const expected = {};
1313
for (const encoding of encodings) {
1414
expected[encoding] = buffer_dir.toString(encoding);

0 commit comments

Comments
 (0)