File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ describe('req.is()', function () {
88
88
. post ( '/' )
89
89
. send ( '{}' )
90
90
. expect ( 200 , 'false' , done )
91
- } )
91
+ } )
92
92
} )
93
93
94
94
describe ( 'when given an extension' , function ( ) {
@@ -106,7 +106,7 @@ describe('req.is()', function () {
106
106
. expect ( 200 , '"json"' , done )
107
107
} )
108
108
109
- it ( 'should lookup the first matching extension from list' , function ( done ) {
109
+ it ( 'should lookup the first matching extension from list' , function ( done ) {
110
110
var app = express ( )
111
111
var cb = after ( 2 , done )
112
112
@@ -217,9 +217,9 @@ describe('req.is()', function () {
217
217
} )
218
218
219
219
it ( 'should match wildcards in list and return full type or false' , function ( done ) {
220
- var app = express ( )
220
+ var app = express ( )
221
221
var cb = after ( 3 , done )
222
-
222
+
223
223
app . use ( function ( req , res ) {
224
224
res . json ( req . is ( [ 'application/*' , '*/jpeg' ] ) )
225
225
} )
You can’t perform that action at this time.
0 commit comments