Strict check

This commit is contained in:
Raul Ochoa 2017-10-06 12:54:37 +00:00
parent c8d2c9ea37
commit f350206990

View File

@ -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' +