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>
This commit is contained in:
rt33 2018-11-24 17:13:22 +09:00 committed by Rich Trott
parent 5e2ecd40bc
commit c481799d72

View File

@ -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');