We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cc2f20 commit 97f1524Copy full SHA for 97f1524
1 file changed
tests/utf8.test.js
@@ -28,6 +28,7 @@ const nonUtf8 = [
28
// invalid string -> bytes
29
const orphans = [
30
{ charcodes: [0x61, 0x62, 0xd8_00, 0x77, 0x78], hex: '6162efbfbd7778' },
31
+ { charcodes: [0xd8_00], hex: 'efbfbd' },
32
{ charcodes: [0xd8_00, 0xd8_00], hex: 'efbfbdefbfbd' }, // https://npmjs.com/package/buffer is wrong
33
{ charcodes: [0x61, 0x62, 0xdf_ff, 0x77, 0x78], hex: '6162efbfbd7778' },
34
{ charcodes: [0xdf_ff, 0xd8_00], hex: 'efbfbdefbfbd' },
0 commit comments