test: strictEqual argument order (actual, expected)

PR-URL: https://github.com/nodejs/node/pull/24137
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
Ahmad Nassri
2018-11-06 14:45:42 +00:00
committed by Rich Trott
parent d070ae22ea
commit bad65aa347

View File

@@ -34,7 +34,7 @@ const err = new Stream();
process.stdout.write = process.stderr.write = common.mustNotCall();
// Make sure that the "Console" function exists.
assert.strictEqual('function', typeof Console);
assert.strictEqual(typeof Console, 'function');
assert.strictEqual(requiredConsole, global.console);
// Make sure the custom instanceof of Console works