diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-06 17:18:10 -0500 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-06 17:18:10 -0500 |
| commit | c5871cb996d42eec2453b86003f305ec62ee3e46 (patch) | |
| tree | 96c7ff7367cdee024a67cb9f7fab85970e708c5f /buffer_test.ts | |
| parent | 17c255581dbeff6bad6fe385b6cdee174e3f93ae (diff) | |
Format
Original: https://github.com/denoland/deno_std/commit/f3bce9c7b8e75846c33d4b8672510092b92b3139
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); |
