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 <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 rvagg committed Feb 28, 2019
1 parent c01f040 commit 1d94f3e
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 1d94f3e

Please sign in to comment.