test: fix backward assertion arguments

PR-URL: https://github.com/nodejs/node/pull/23616
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
Stéphane Vasseur authored and James M Snell committed 2018-10-17 11:30:56 -07:00
1 parent 907461c289
commit 2f481f7bb0
1 file changed
+3 -3
@@ -75,10 +75,10 @@ function makeConnection(index) {
}
if (index < server.maxConnections) {
assert.strictEqual(true, gotData,
assert.strictEqual(gotData, true,
`${index} didn't get data, but should have`);
} else {
assert.strictEqual(false, gotData,
assert.strictEqual(gotData, false,
`${index} got data, but shouldn't have`);
}
});
@@ -103,5 +103,5 @@ function makeConnection(index) {
process.on('exit', function() {
assert.strictEqual(N, closes);
assert.strictEqual(closes, N);
});