File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ module.exports = function (chai, _) {
250
250
251
251
this . assert (
252
252
redirectCodes . indexOf ( status ) >= 0 || redirects && redirects . length
253
- , "expected redirect status code but got " + status
253
+ , "expected redirect with 30X status code but got " + status
254
254
, "expected not to redirect but got " + status + " status"
255
255
) ;
256
256
} ) ;
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ describe('assertions', function () {
195
195
( function ( ) {
196
196
var res = { status : 200 } ;
197
197
res . should . redirect ;
198
- } ) . should . throw ( 'expected redirect status code but got 200' ) ;
198
+ } ) . should . throw ( 'expected redirect with 30X status code but got 200' ) ;
199
199
200
200
( function ( ) {
201
201
var res = { status : 301 } ;
You can’t perform that action at this time.
0 commit comments