File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ describe('Route', function(){
124
124
var req = { method : 'POST' , url : '/' } ;
125
125
var route = new Route ( '' ) ;
126
126
127
- route . get ( function ( req , res , next ) {
127
+ route . get ( function ( ) {
128
128
throw new Error ( 'not me!' ) ;
129
129
} )
130
130
@@ -198,7 +198,7 @@ describe('Route', function(){
198
198
var req = { order : '' , method : 'GET' , url : '/' } ;
199
199
var route = new Route ( '' ) ;
200
200
201
- route . all ( function ( req , res , next ) {
201
+ route . all ( function ( ) {
202
202
throw new Error ( 'foobar' ) ;
203
203
} ) ;
204
204
@@ -224,7 +224,7 @@ describe('Route', function(){
224
224
var req = { method : 'GET' , url : '/' } ;
225
225
var route = new Route ( '' ) ;
226
226
227
- route . get ( function ( req , res , next ) {
227
+ route . get ( function ( ) {
228
228
throw new Error ( 'boom!' ) ;
229
229
} ) ;
230
230
You can’t perform that action at this time.
0 commit comments