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 <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
sshakeel authored and MylesBorins committed Nov 29, 2018
1 parent 3d1e51e commit 94c7406
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 94c7406

Please sign in to comment.