Skip to content

Commit

Permalink
test: strictEqual argument order (actual, expected)
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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>
  • Loading branch information
Ahmad Nassri authored and Trott committed Nov 8, 2018
1 parent d070ae2 commit bad65aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-console-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bad65aa

Please sign in to comment.