| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a135c0a commit 97f8037
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -703,6 +703,7 @@ function getArrayBufferViews(buf) { | |||
| 703 | 703 | Uint16Array, | |
| 704 | 704 | Int32Array, | |
| 705 | 705 | Uint32Array, | |
| 706 | + Float16Array, | ||
| 706 | 707 | Float32Array, | |
| 707 | 708 | Float64Array, | |
| 708 | 709 | BigInt64Array, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,7 +63,7 @@ const views = common.getArrayBufferViews(buffer); | |||
| 63 | 63 | assert.strictEqual(chunk.encoding, 'buffer'); | |
| 64 | 64 | res += chunk.chunk; | |
| 65 | 65 | } | |
| 66 | - assert.strictEqual(res, 'ABCD'.repeat(9)); | ||
| 66 | + assert.strictEqual(res, 'ABCD'.repeat(views.length)); | ||
| 67 | 67 | }), | |
| 68 | 68 | ||
| 69 | 69 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments