Skip to content

Commit e4e8983

Browse files
elvisphilipnjasnell
authored andcommitted
test: corret assertion arg order in test-regress-GH-892.js
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>
1 parent 05ce394 commit e4e8983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pummel/test-regress-GH-892.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function makeRequest() {
5959

6060
child.on('exit', function(code) {
6161
assert.ok(/DONE/.test(stderrBuffer));
62-
assert.strictEqual(0, code);
62+
assert.strictEqual(code, 0);
6363
});
6464

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

9797
req.on('end', function() {
98-
assert.strictEqual(bytesExpected, uploadCount);
98+
assert.strictEqual(uploadCount, bytesExpected);
9999
res.writeHead(200, { 'content-type': 'text/plain' });
100100
res.end('successful upload\n');
101101
});

0 commit comments

Comments
 (0)