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 <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • 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.