summaryrefslogtreecommitdiff
path: root/test/binaryen.js/expressions.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/expressions.js')
-rw-r--r--test/binaryen.js/expressions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/binaryen.js/expressions.js b/test/binaryen.js/expressions.js
index 71846f3c6..c0bc402a0 100644
--- a/test/binaryen.js/expressions.js
+++ b/test/binaryen.js/expressions.js
@@ -1814,13 +1814,13 @@ console.log("# I31New");
assert(theI31New instanceof binaryen.I31New);
assert(theI31New instanceof binaryen.Expression);
assert(theI31New.value === value);
- assert(theI31New.type === binaryen.i31ref);
+ // assert(theI31New.type === binaryen.?); // TODO: (ref i31)
theI31New.value = value = module.local.get(2, binaryen.i32);
assert(theI31New.value === value);
theI31New.type = binaryen.f64;
theI31New.finalize();
- assert(theI31New.type === binaryen.i31ref);
+ // assert(theI31New.type === binaryen.?); // TODO: (ref i31)
console.log(theI31New.toText());
assert(