File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ describe('Route', function(){
124124 var req = { method : 'POST' , url : '/' } ;
125125 var route = new Route ( '' ) ;
126126
127- route . get ( function ( req , res , next ) {
127+ route . get ( function ( ) {
128128 throw new Error ( 'not me!' ) ;
129129 } )
130130
@@ -198,7 +198,7 @@ describe('Route', function(){
198198 var req = { order : '' , method : 'GET' , url : '/' } ;
199199 var route = new Route ( '' ) ;
200200
201- route . all ( function ( req , res , next ) {
201+ route . all ( function ( ) {
202202 throw new Error ( 'foobar' ) ;
203203 } ) ;
204204
@@ -224,7 +224,7 @@ describe('Route', function(){
224224 var req = { method : 'GET' , url : '/' } ;
225225 var route = new Route ( '' ) ;
226226
227- route . get ( function ( req , res , next ) {
227+ route . get ( function ( ) {
228228 throw new Error ( 'boom!' ) ;
229229 } ) ;
230230
You can’t perform that action at this time.
0 commit comments