summaryrefslogtreecommitdiff
path: root/test/wasm2js/wasm2js.asserts.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/wasm2js.asserts.js')
-rw-r--r--test/wasm2js/wasm2js.asserts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js/wasm2js.asserts.js b/test/wasm2js/wasm2js.asserts.js
index fb6516106..19b97844e 100644
--- a/test/wasm2js/wasm2js.asserts.js
+++ b/test/wasm2js/wasm2js.asserts.js
@@ -68,9 +68,9 @@ function check1() {
return 1 | 0;
}
-if (!check1()) throw 'assertion failed: ( assert_return ( invoke empty ) )';
+if (!check1()) throw 'assertion failed on line 9';
function check2() {
return (retasmFunc0.add(1 | 0, 1 | 0) | 0 | 0) == (2 | 0) | 0;
}
-if (!check2()) throw 'assertion failed: ( assert_return ( invoke add ( i32.const 1 ) ( i32.const 1 ) ) ( i32.const 2 ) )';
+if (!check2()) throw 'assertion failed on line 10';