test: fix the arguments order in assert.strictEqual

PR-URL: https://github.com/nodejs/node/pull/24416
Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Jay Arthanareeswaran 2018-11-17 16:58:38 +05:30 committed by Rich Trott
parent a3d9168293
commit 092ab7a1d3

View File

@ -64,6 +64,6 @@ server.listen(common.PORT, function connect() {
}); });
process.on('exit', function() { process.on('exit', function() {
assert.strictEqual(expected, responses); assert.strictEqual(responses, expected);
assert.strictEqual(expected, requests); assert.strictEqual(requests, expected);
}); });