Skip to content

Commit

Permalink
test: fix the arguments order in assert.strictEqual
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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>
  • Loading branch information
rt33 authored and refack committed Jan 10, 2019
1 parent 8f51032 commit 834c9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-request-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 834c9e5

Please sign in to comment.