Skip to content

Commit

Permalink
test: corret assertion arg order in test-regress-GH-892.js
Browse files Browse the repository at this point in the history
PR-URL: #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 addaleax committed Oct 20, 2018
1 parent 8f1bea8 commit b9c99cf
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 b9c99cf

Please sign in to comment.