summaryrefslogtreecommitdiff
path: root/test/wasm2js.asserts.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-04-06 10:09:40 -0700
committerGitHub <noreply@github.com>2021-04-06 10:09:40 -0700
commit0c8c062f5ec2f11e5b6e17e692aeae0ef97cab89 (patch)
tree870d2731db61597e306265aa5baf21c4f0d02703 /test/wasm2js.asserts.js
parent01bc21495af611948533686e372abddbd40825dc (diff)
downloadbinaryen-0c8c062f5ec2f11e5b6e17e692aeae0ef97cab89.tar.gz
binaryen-0c8c062f5ec2f11e5b6e17e692aeae0ef97cab89.tar.bz2
binaryen-0c8c062f5ec2f11e5b6e17e692aeae0ef97cab89.zip
Emit dollar signs when relevant while debugging s-expression elements (#3693)
This is just noticeable when debugging locally and doing a quick print to stdout.
Diffstat (limited to 'test/wasm2js.asserts.js')
-rw-r--r--test/wasm2js.asserts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js.asserts.js b/test/wasm2js.asserts.js
index e2da0da5c..6ff356893 100644
--- a/test/wasm2js.asserts.js
+++ b/test/wasm2js.asserts.js
@@ -74,9 +74,9 @@ function check1() {
return 1 | 0;
}
-if (!check1()) throw 'assertion failed: ( assert_return ( call empty ) )';
+if (!check1()) throw 'assertion failed: ( assert_return ( call $empty ) )';
function check2() {
return (retasmFunc0.add(1 | 0, 1 | 0) | 0 | 0) == (2 | 0) | 0;
}
-if (!check2()) throw 'assertion failed: ( assert_return ( call add ( i32.const 1 ) ( i32.const 1 ) ) ( i32.const 2 ) )';
+if (!check2()) throw 'assertion failed: ( assert_return ( call $add ( i32.const 1 ) ( i32.const 1 ) ) ( i32.const 2 ) )';