This commit is contained in:
Liigo Zhuang
2018-07-12 09:54:58 +08:00
parent 823e5a4fd9
commit e666371ae3
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ fn test() {
import * as wasm from "./out";
export function test() {
var bytes = new Int8Array(10);
const bytes = new Int8Array(10);
bytes[2] = 2;
wasm.test_data_view(bytes.buffer, 2, 8);
assert.equal(bytes[2], 42);