Skip to content
Permalink
Browse files

test: remove third argument from strictEqual()

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 Trott committed Aug 21, 2018
1 parent 4ea2c8e commit 376cc4d0b7543d34c922d4c982d4214055abff22
Showing with 2 additions and 2 deletions.
  1. +2 −2 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
);
});

0 comments on commit 376cc4d

Please sign in to comment.
You can’t perform that action at this time.