diff options
Diffstat (limited to 'buffer_test.ts')
| -rw-r--r-- | buffer_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer_test.ts b/buffer_test.ts index 9a71e80a3..1958f8e97 100644 --- a/buffer_test.ts +++ b/buffer_test.ts @@ -17,7 +17,7 @@ function init() { if (testBytes == null) { testBytes = new Uint8Array(N); for (let i = 0; i < N; i++) { - testBytes[i] = "a".charCodeAt(0) + i % 26; + testBytes[i] = "a".charCodeAt(0) + (i % 26); } const decoder = new TextDecoder(); testString = decoder.decode(testBytes); |
