Skip to content

Commit

Permalink
test: remove third argument from strictEqual()
Browse files Browse the repository at this point in the history
test: remove third argument from assert.strictEqual()

PR-URL: #22451
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
neeraj-laad authored and addaleax committed Aug 27, 2018
1 parent f3725a8 commit 6f9b79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-wasm-simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
});

0 comments on commit 6f9b79f

Please sign in to comment.