From 376cc4d0b7543d34c922d4c982d4214055abff22 Mon Sep 17 00:00:00 2001 From: Neeraj Laad Date: Wed, 22 Aug 2018 00:13:40 +0100 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Ruben Bridgewater --- test/parallel/test-wasm-simple.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-wasm-simple.js b/test/parallel/test-wasm-simple.js index f00f10c4366..ebcb366d551 100644 --- a/test/parallel/test-wasm-simple.js +++ b/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 ); });