Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typo in encoding
  • Loading branch information
phated committed Apr 18, 2022
commit 9388ab4622600d8b29541eecad5889a5f0aa4c85
2 changes: 1 addition & 1 deletion test/parallel/test-whatwg-encoding-custom-textdecoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ assert(TextDecoder);
0x00, 0x73, 0x00, 0x74, 0x00, 0xac,
0x20]);
const dec = new TextDecoder(i);
assert.strictEqual(dec.encoding, 'utf-16-le');
assert.strictEqual(dec.encoding, 'utf-16le');
const res = dec.decode(buf);
assert.strictEqual(res, '\ufefftest€');
});
Expand Down