Skip to content

Commit d4e3c06

Browse files
committed
Hotfix example.ts test file
1 parent 39e8bb1 commit d4e3c06

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/examples/example.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ spec.testee('emulator[:8100]', new EmulatorSpecification(8100));
2525
const steps: Step[] = [];
2626

2727
// ✔ ((invoke "8u_good1" (i32.const 0)) (i32.const 97))
28-
steps.push(new Invoker('8u_good1', [WASM.i32(0)], WASM.i32(97)));
28+
steps.push(new Invoker('8u_good1', [WASM.i32(0n)], WASM.i32(97n)));
2929

3030
// ✔ ((invoke "8u_good3" (i32.const 0)) (i32.const 98))
31-
steps.push(new Invoker('8u_good3', [WASM.i32(0)], WASM.i32(98)));
31+
steps.push(new Invoker('8u_good3', [WASM.i32(0n)], WASM.i32(98n)));
3232

3333
// ✔ ((invoke "func-unwind-by-br"))
3434
steps.push(new Invoker('func-unwind-by-br', [], undefined));
@@ -151,9 +151,9 @@ reverse.test({
151151
}
152152
}],
153153
},
154-
new Invoker('read', [WASM.i32(15)], WASM.i32(0)),
155-
new Invoker('write', [WASM.i32(15), WASM.i32(1)], undefined),
156-
new Invoker('read', [WASM.i32(15)], WASM.i32(1))]
154+
new Invoker('read', [WASM.i32(15n)], WASM.i32(0n)),
155+
new Invoker('write', [WASM.i32(15n), WASM.i32(1n)], undefined),
156+
new Invoker('read', [WASM.i32(15n)], WASM.i32(1n))]
157157
})
158158

159159
framework.reporter.verbosity(Verbosity.debug);

0 commit comments

Comments
 (0)