From aba0c945eb7b6f6ea31318171fcb0d7bb5921a33 Mon Sep 17 00:00:00 2001
From: Kevin Seidel <kevin.seidel@karrieretutor.de>
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 <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
---
 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);