Skip to content

Commit 6ab3b9a

Browse files
author
Anthony Metzidis
committed
revert whitespace change
1 parent 7eef16a commit 6ab3b9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/http.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ module.exports = function (chai, _) {
249249
, redirects = this._obj.redirects;
250250

251251
this.assert(
252-
redirectCodes.indexOf(status) >= 0 || redirects && redirects.length
253-
,"expected redirect status code but got " + status
252+
redirectCodes.indexOf(status) >= 0 || redirects && redirects.length
253+
, "expected redirect status code but got " + status
254254
, "expected not to redirect but got " + status + " status"
255255
);
256256
});

test/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ describe('assertions', function () {
177177
var res = { status: 200 };
178178
res.should.not.redirect;
179179

180-
[301, 302, 303,307,308].forEach(function (status) {
180+
[301, 302, 303, 307, 308].forEach(function (status) {
181181
var res = { status: status };
182182
res.should.redirect;
183183
});

0 commit comments

Comments
 (0)