Skip to content

Commit 6f31478

Browse files
neeraj-laadtargos
authored andcommitted
test: remove third argument from strictEqual()
test: remove third argument from assert.strictEqual() PR-URL: #22451 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent d02fb36 commit 6f31478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-wasm-simple.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const buffer = fixtures.readSync('test.wasm');
99
assert.ok(WebAssembly.validate(buffer), 'Buffer should be valid WebAssembly');
1010

1111
WebAssembly.instantiate(buffer, {}).then((results) => {
12+
// Exported function should add two numbers.
1213
assert.strictEqual(
1314
results.instance.exports.addTwo(10, 20),
14-
30,
15-
'Exported function should add two numbers.',
15+
30
1616
);
1717
});

0 commit comments

Comments
 (0)