diff options
author | Elvis-Philip N <elvisphilipn@gmail.com> | 2018-10-12 13:11:14 -0400 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-10-15 12:00:00 +0200 |
commit | 183838d30b4bd00254fde7f0592ab35679c1b5bd (patch) | |
tree | 7ffc1b84d9f8a36d9a76c9b6b7eba4e26fbe3321 /test/pummel/test-regress-GH-892.js | |
parent | 3a62c06067d43553609535cd074d4f10b6bfd21e (diff) | |
download | android-node-v8-183838d30b4bd00254fde7f0592ab35679c1b5bd.tar.gz android-node-v8-183838d30b4bd00254fde7f0592ab35679c1b5bd.tar.bz2 android-node-v8-183838d30b4bd00254fde7f0592ab35679c1b5bd.zip |
test: corret assertion arg order in test-regress-GH-892.js
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'test/pummel/test-regress-GH-892.js')
-rw-r--r-- | test/pummel/test-regress-GH-892.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pummel/test-regress-GH-892.js b/test/pummel/test-regress-GH-892.js index 4021a53736..48201807e3 100644 --- a/test/pummel/test-regress-GH-892.js +++ b/test/pummel/test-regress-GH-892.js @@ -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 @@ -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'); }); |