summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Arthanareeswaran <jarthana@in.ibm.com>2018-11-17 16:58:38 +0530
committerRich Trott <rtrott@gmail.com>2018-11-19 08:38:35 -0800
commit092ab7a1d39d97a3e93f8ed46d80d8ad783b2f9c (patch)
treec2e25a3873e12b0b49d4c9cce166b03be621504b
parenta3d9168293b6646a3f183ad9d27d6f969b88576f (diff)
downloadandroid-node-v8-092ab7a1d39d97a3e93f8ed46d80d8ad783b2f9c.tar.gz
android-node-v8-092ab7a1d39d97a3e93f8ed46d80d8ad783b2f9c.tar.bz2
android-node-v8-092ab7a1d39d97a3e93f8ed46d80d8ad783b2f9c.zip
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>
-rw-r--r--test/pummel/test-http-many-keep-alive-connections.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pummel/test-http-many-keep-alive-connections.js b/test/pummel/test-http-many-keep-alive-connections.js
index cb9f994684..59eccc328d 100644
--- a/test/pummel/test-http-many-keep-alive-connections.js
+++ b/test/pummel/test-http-many-keep-alive-connections.js
@@ -64,6 +64,6 @@ server.listen(common.PORT, function connect() {
});
process.on('exit', function() {
- assert.strictEqual(expected, responses);
- assert.strictEqual(expected, requests);
+ assert.strictEqual(responses, expected);
+ assert.strictEqual(requests, expected);
});