Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix strictEqual input parameters order
  • Loading branch information
AlixAng committed Oct 12, 2018
commit aa63908507fc717b2674f5ffbd5deb4c39feec4e
4 changes: 2 additions & 2 deletions test/parallel/test-pipe-file-to-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let count = 0;

const server = http.createServer(function(req, res) {
let timeoutId;
assert.strictEqual('POST', req.method);
assert.strictEqual(req.method,'POST');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space after the comma please.

req.pause();

setTimeout(function() {
Expand Down Expand Up @@ -87,5 +87,5 @@ function makeRequest() {
}

process.on('exit', function() {
assert.strictEqual(1024 * 10240, count);
assert.strictEqual(count, 1024 * 10240);
});