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
Change all assert.strictEqual() to have actual value 1st and expected…
… value 2nd.
  • Loading branch information
czezula committed Oct 6, 2017
commit b39031a340185e53cc488a8a857e92aa615051ed
6 changes: 3 additions & 3 deletions test/sequential/test-regress-GH-784.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const server = http.createServer(function(req, res) {
});

req.on('end', function() {
assert.strictEqual('PING', body);
assert.strictEqual(body, 'PING');
res.writeHead(200);
res.end('PONG');
});
Expand Down Expand Up @@ -119,7 +119,7 @@ function ping() {
});

res.on('end', function() {
assert.strictEqual('PONG', body);
assert.strictEqual(body, 'PONG');
assert.ok(!hadError);
gotEnd = true;
afterPing('success');
Expand Down Expand Up @@ -151,5 +151,5 @@ process.on('exit', function() {
console.error("process.on('exit')");
console.error(responses);

assert.strictEqual(8, responses.length);
assert.strictEqual(responses.length, 8);
});