Skip to content

Commit

Permalink
Added app.match() as app.match.all()
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 26, 2011
1 parent ff77c8b commit 53a16e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/router.test.js
Expand Up @@ -240,5 +240,6 @@ module.exports = {
app.match.get('/user/5/edit').should.have.length(2); app.match.get('/user/5/edit').should.have.length(2);
app.match.get('/').should.have.be.empty; app.match.get('/').should.have.be.empty;
app.match.all('/user/123').should.have.length(3); app.match.all('/user/123').should.have.length(3);
app.match('/user/123').should.have.length(3);
} }
}; };

0 comments on commit 53a16e1

Please sign in to comment.