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 <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>
1 parent 4b873ee commit 96c1dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)