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: #24626
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
  • Loading branch information
rt33 authored and BethGriggs committed Feb 12, 2019
1 parent 1b48c9d commit 9f66105
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 9f66105

Please sign in to comment.