From f350206990e04373066b6aa3492d576daa2de34b Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Fri, 6 Oct 2017 12:54:37 +0000 Subject: [PATCH] Strict check --- test/support/assert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/assert.js b/test/support/assert.js index c5e22e93..76380833 100644 --- a/test/support/assert.js +++ b/test/support/assert.js @@ -137,7 +137,7 @@ assert.response = function(server, req, res, callback) { // Assert response status if (typeof status === 'number') { - if (response.statusCode != status) { + if (response.statusCode !== status) { return callback(response, new Error(colorize( '[red]{Invalid response status code.}\n' + ' Expected: [green]{' + status + '}\n' +