Skip to content

Commit

Permalink
test: corret assertion arg order in test-regress-nodejsGH-892.js
Browse files Browse the repository at this point in the history
PR-URL: nodejs#23513
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
elvisphilipn authored and BridgeAR committed Oct 15, 2018
1 parent 0a6bdfb commit f4323d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pummel/test-regress-GH-892.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function makeRequest() {

child.on('exit', function(code) {
assert.ok(/DONE/.test(stderrBuffer));
assert.strictEqual(0, code);
assert.strictEqual(code, 0);
});

// The following two lines forward the stdio from the child
Expand Down Expand Up @@ -95,7 +95,7 @@ const server = https.Server(serverOptions, function(req, res) {
});

req.on('end', function() {
assert.strictEqual(bytesExpected, uploadCount);
assert.strictEqual(uploadCount, bytesExpected);
res.writeHead(200, { 'content-type': 'text/plain' });
res.end('successful upload\n');
});
Expand Down

0 comments on commit f4323d8

Please sign in to comment.