test: reversed actual and expected values for .strictEqual()
Fixed strictEqual() parameters order according to the documentation for the assertion. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
93c918ee0c
commit
9bf6e2ee9d
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user