Skip to content

Commit 3531987

Browse files
raksbishtdougwilson
authored andcommitted
lint: remove unused function arguments in Route tests
closes #5137
1 parent f540c3b commit 3531987

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Route.js

+3-3
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)