From 2e0d3c9de905d79f12aa309b6c7db4e1e747c94b Mon Sep 17 00:00:00 2001 From: Kevin Seidel Date: Tue, 6 Nov 2018 17:06:28 +0100 Subject: [PATCH] test: fix order in assert.strictEqual to actual, expected PR-URL: https://github.com/nodejs/node/pull/24184 Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil --- test/addons-napi/test_make_callback/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/addons-napi/test_make_callback/test.js b/test/addons-napi/test_make_callback/test.js index 3f51acb6c07ac6..f409bbc9d127d6 100644 --- a/test/addons-napi/test_make_callback/test.js +++ b/test/addons-napi/test_make_callback/test.js @@ -14,7 +14,7 @@ function myMultiArgFunc(arg1, arg2, arg3) { } assert.strictEqual(makeCallback(process, common.mustCall(function() { - assert.strictEqual(0, arguments.length); + assert.strictEqual(arguments.length, 0); assert.strictEqual(this, process); return 42; })), 42);