diff --git a/test/parallel/test-wasm-simple.js b/test/parallel/test-wasm-simple.js index f00f10c436650a..ebcb366d551e22 100644 --- a/test/parallel/test-wasm-simple.js +++ b/test/parallel/test-wasm-simple.js @@ -9,9 +9,9 @@ const buffer = fixtures.readSync('test.wasm'); assert.ok(WebAssembly.validate(buffer), 'Buffer should be valid WebAssembly'); WebAssembly.instantiate(buffer, {}).then((results) => { + // Exported function should add two numbers. assert.strictEqual( results.instance.exports.addTwo(10, 20), - 30, - 'Exported function should add two numbers.', + 30 ); });