We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d02fb36 commit 6f31478Copy full SHA for 6f31478
test/parallel/test-wasm-simple.js
@@ -9,9 +9,9 @@ const buffer = fixtures.readSync('test.wasm');
9
assert.ok(WebAssembly.validate(buffer), 'Buffer should be valid WebAssembly');
10
11
WebAssembly.instantiate(buffer, {}).then((results) => {
12
+ // Exported function should add two numbers.
13
assert.strictEqual(
14
results.instance.exports.addTwo(10, 20),
- 30,
15
- 'Exported function should add two numbers.',
+ 30
16
);
17
});
0 commit comments