summaryrefslogtreecommitdiff
path: root/test/wasm2js.traps.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js.traps.js')
-rw-r--r--test/wasm2js.traps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/wasm2js.traps.js b/test/wasm2js.traps.js
index 39bcfce0f..81b3c8b74 100644
--- a/test/wasm2js.traps.js
+++ b/test/wasm2js.traps.js
@@ -105,7 +105,7 @@ function check3() {
if (!check3()) throw 'assertion failed: ( assert_trap ( call div_s ( i32.const 0 ) ( i32.const 0 ) ) integer divide by zero )';
function check4() {
function f() {
- retasmFunc0.div_s(2147483648 | 0, 4294967295 | 0);
+ retasmFunc0.div_s(-2147483648 | 0, -1 | 0);
}
try {