mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 12:19:51 +01:00
styling
This commit is contained in:
parent
32b8613708
commit
b9e32ec2c4
|
|
@ -17,8 +17,9 @@ describe('Router', function(){
|
|||
router.route('get', '/foo', function(){});
|
||||
router.route('get', '/foob?', function(){});
|
||||
router.route('get', '/bar', function(){});
|
||||
var method = 'GET'
|
||||
, url = '/foo?bar=baz';
|
||||
|
||||
var method = 'GET';
|
||||
var url = '/foo?bar=baz';
|
||||
|
||||
var route = router.match(method, url, 0);
|
||||
route.constructor.name.should.equal('Route');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user