Skip to content
Myr

more tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 8b1f109 · Browse files · 1 file+6 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−2 removed

  • tests:+6 added−2 removed

1 file+6 added−2 removed

modified:test/router.test.js+6 added-2 removed
140 unmodified lines
141 'test optional * value': function(){142 var app = express.createServer();143 144 app.get('/admin*', function(req, res){145 res.send(200);145 res.send(req.params[0], 200);146 });147 148 assert.response(app,149 { url: '/admin', },150 { status: 200 });150 { body: '', status: 200 });151152 assert.response(app,153 { url: '/adminify', },154 { body: 'ify', status: 200 });155 },156 157 'test app.param()': function(){158 var app = express.createServer();
265 unmodified lines