test: remove third argument from strictEqual()
test: remove third argument from assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
4ea2c8e26f
commit
376cc4d0b7
@ -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
|
||||
);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user