Skip to content

Commit 96c1dd4

Browse files
sshakeeljasnell
authored andcommitted
test: reversed actual and expected values for .strictEqual()
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]>
1 parent 4b873ee commit 96c1dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/parallel/test-next-tick-ordering.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ console.log('Running from main.');
4747

4848

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

0 commit comments

Comments
 (0)