Skip to content

Commit

Permalink
remove unnecessary parens around arrow fn arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanong committed Oct 14, 2015
1 parent 77f1d2a commit 5b04a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/application/use.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('app.use(fn)', function(){
it('should catch thrown errors in non-async functions', function(done){
const app = new Koa();

app.use((ctx) => {
app.use(ctx => {
ctx.throw('Not Found', 404);
});

Expand Down

0 comments on commit 5b04a8a

Please sign in to comment.