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 <[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]>
  • Loading branch information
neeraj-laad authored and Trott committed Aug 24, 2018
1 parent 4ea2c8e commit 376cc4d
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 376cc4d

Please sign in to comment.