Skip to content
Myr

Assert blog.route

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 a04a757 · Browse files · 1 file+2 added−1 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+2 added−1 removed

  • tests:+2 added−1 removed

1 file+2 added−1 removed

modified:test/express.test.js+2 added-1 removed
226 unmodified lines
227 var app = express.createServer(),228 blog = express.createServer();229 230 app.use('/blog', blog);231 assert.equal('/blog', blog.route);232 233 app.get('/', function(req, res){234 res.send('main app');235 });235 236237 blog.get('/', function(req, res){238 res.send('blog index');239 });240
18 unmodified lines