diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2018-12-17 17:49:10 +0100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-17 11:49:10 -0500 |
| commit | f6dae45cd2bb0615c136188b4dba8a3272ac5d70 (patch) | |
| tree | 9330a72a0c9eda2f668d00f07a7c6b11d2edd346 /buffer_test.ts | |
| parent | 579b92de599b056c308a3b2d26f0b09188c4441b (diff) | |
First pass at streaming http response (denoland/deno_std#16)
Original: https://github.com/denoland/deno_std/commit/269665873a9219423085418d605b8af8ac2565dc
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 1958f8e97..9a71e80a3 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); |
