summaryrefslogtreecommitdiff
path: root/test/binaryen.js/kitchen-sink.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/kitchen-sink.js')
-rw-r--r--test/binaryen.js/kitchen-sink.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js
index bd55dc8a0..3205de702 100644
--- a/test/binaryen.js/kitchen-sink.js
+++ b/test/binaryen.js/kitchen-sink.js
@@ -214,7 +214,7 @@ function test_core() {
console.log("getExpressionType=" + Binaryen.getExpressionType(valueList[3]));
console.log(Binaryen.emitText(valueList[3])); // test printing a standalone expression
console.log(Binaryen.getConstValueI32(module.i32.const(5)));
- console.log(Binaryen.getConstValueI64(module.i64.const(6, 7)));
+ console.log(JSON.stringify(Binaryen.getConstValueI64(module.i64.const(6, 7))));
console.log(Binaryen.getConstValueF32(module.f32.const(8.5)));
console.log(Binaryen.getConstValueF64(module.f64.const(9.5)));