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: nodejs#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 gireeshpunathil committed Nov 9, 2018
1 parent 83410d6 commit 16a199a
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 16a199a

Please sign in to comment.