Skip to content

Commit

Permalink
test: fixe argument order in assert.strictEqual
Browse files Browse the repository at this point in the history
File: test/parallel/test-http-client-upload-buf.js

PR-URL: #24140
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
posth authored and BridgeAR committed Nov 13, 2018
1 parent a0681b7 commit 3d19a04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-http-client-upload-buf.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const http = require('http');
const N = 1024;

const server = http.createServer(common.mustCall(function(req, res) {
assert.strictEqual('POST', req.method);

assert.strictEqual(req.method, 'POST');
let bytesReceived = 0;

req.on('data', function(chunk) {
Expand Down

0 comments on commit 3d19a04

Please sign in to comment.