summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrt33 <rt33@lastcycle.com>2018-11-24 17:13:22 +0900
committerRich Trott <rtrott@gmail.com>2018-11-28 21:07:54 -0800
commitc481799d72cb1fd496c0747fba870afb275d36b0 (patch)
tree551550522805979d75b025956a8c9885fbe2d06c /test
parent5e2ecd40bcd2af919848451fbbe600b68ee7fd86 (diff)
downloadandroid-node-v8-c481799d72cb1fd496c0747fba870afb275d36b0.tar.gz
android-node-v8-c481799d72cb1fd496c0747fba870afb275d36b0.tar.bz2
android-node-v8-c481799d72cb1fd496c0747fba870afb275d36b0.zip
test: fix the arguments order in `assert.strictEqual`
PR-URL: https://github.com/nodejs/node/pull/24626 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-http-request-end.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-request-end.js b/test/parallel/test-http-request-end.js
index a0cdcf27dd..c9278945b7 100644
--- a/test/parallel/test-http-request-end.js
+++ b/test/parallel/test-http-request-end.js
@@ -35,7 +35,7 @@ const server = http.Server(function(req, res) {
});
req.on('end', function() {
- assert.strictEqual(expected, result);
+ assert.strictEqual(result, expected);
server.close();
res.writeHead(200);
res.end('hello world\n');