Skip to content

Commit

Permalink
test: reversed actual and expected values for .strictEqual()
Browse files Browse the repository at this point in the history
Fixed strictEqual() parameters order according to the documentation
for the assertion.

PR-URL: #23579
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
sshakeel authored and MylesBorins committed Oct 30, 2018
1 parent 70ba0f9 commit 6ec5b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-next-tick-ordering.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ console.log('Running from main.');


process.on('exit', function() {
assert.strictEqual('nextTick', done[0]);
assert.strictEqual(done[0], 'nextTick');
/* Disabling this test. I don't think we can ensure the order
for (i = 0; i < N; i += 1) {
assert.strictEqual(i, done[i + 1]);
Expand Down

0 comments on commit 6ec5b4a

Please sign in to comment.