Skip to content

Commit

Permalink
revert whitespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Metzidis committed Mar 13, 2017
1 parent 7eef16a commit 6ab3b9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/http.js
Expand Up @@ -249,8 +249,8 @@ module.exports = function (chai, _) {
, redirects = this._obj.redirects;

this.assert(
redirectCodes.indexOf(status) >= 0 || redirects && redirects.length
,"expected redirect status code but got " + status
redirectCodes.indexOf(status) >= 0 || redirects && redirects.length
, "expected redirect status code but got " + status
, "expected not to redirect but got " + status + " status"
);
});
Expand Down
2 changes: 1 addition & 1 deletion test/http.js
Expand Up @@ -177,7 +177,7 @@ describe('assertions', function () {
var res = { status: 200 };
res.should.not.redirect;

[301, 302, 303,307,308].forEach(function (status) {
[301, 302, 303, 307, 308].forEach(function (status) {
var res = { status: status };
res.should.redirect;
});
Expand Down

0 comments on commit 6ab3b9a

Please sign in to comment.