From 8eb68a82396bff46c2db2adb95acf36788c10300 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 assert.strictEqual() test: remove third argument from assert.strictEqual() --- 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 f00f10c436650a..ebcb366d551e22 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 ); });