Skip to content

Commit 77e03bf

Browse files
committed
test: add TextDecoder single-byte tables test
1 parent 181e6e2 commit 77e03bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+90
-11
lines changed

fallback/single-byte.encodings.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/encoding/bytes.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { toBase64 } from '@exodus/bytes/base64.js'
55
import { fromHex } from '@exodus/bytes/hex.js'
66
import { test, describe } from 'node:test'
77
import { fromBits, fromBase4 } from './_utils.js'
8-
import { legacyMultiByte } from '../fixtures/encoding/encodings.cjs'
8+
import { legacyMultiByte } from './fixtures/encodings.cjs'
99

1010
// Also test utf-8 and the most common single-byte decoder (windows-1252) on multi-byte input
1111
const labels = ['windows-1252', 'utf-8', ...legacyMultiByte]
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/fixtures/encoding/multi-byte/index-gb18030-ranges.txt renamed to tests/encoding/fixtures/multi-byte/index-gb18030-ranges.txt

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)