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:
parent
5e2ecd40bc
commit
c481799d72
@ -35,7 +35,7 @@ const server = http.Server(function(req, res) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
req.on('end', function() {
|
req.on('end', function() {
|
||||||
assert.strictEqual(expected, result);
|
assert.strictEqual(result, expected);
|
||||||
server.close();
|
server.close();
|
||||||
res.writeHead(200);
|
res.writeHead(200);
|
||||||
res.end('hello world\n');
|
res.end('hello world\n');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user