mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user