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 <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 MylesBorins committed Dec 26, 2018
1 parent 11a84a7 commit 2d88af3
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 @@ -33,7 +33,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');

// Make sure that the Console constructor throws
// when not given a writable stream instance.
Expand Down

0 comments on commit 2d88af3

Please sign in to comment.