Skip to content

Commit

Permalink
test: strictEqual argument order (actual, expected)
Browse files Browse the repository at this point in the history
PR-URL: #24137
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • 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.