★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/fa1373fc74Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
test: fix assertion arguments order
PR-URL: #23787
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Aiden01 authored and targos committed Oct 24, 2018
1 parent f4421d1 commit fa1373fc743ac18c272d04bb5c1e52e2215e40e7
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-http-remove-header-stays-removed.js
@@ -44,13 +44,13 @@ const server = http.createServer(function(request, response) {
let response = '';

process.on('exit', function() {
assert.strictEqual('beep boop\n', response);
assert.strictEqual(response, 'beep boop\n');
console.log('ok');
});

server.listen(0, function() {
http.get({ port: this.address().port }, function(res) {
assert.strictEqual(200, res.statusCode);
assert.strictEqual(res.statusCode, 200);
assert.deepStrictEqual(res.headers, { date: 'coffee o clock' });

res.setEncoding('ascii');

0 comments on commit fa1373f

Please sign in to comment.