Skip to content
Myr

Removed testing crap

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

authored by visionmedia · committed by visionmedia · parent 28d5505 · Browse files · 1 file+0 added−22 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+0 added−22 removed

  • other:+0 added−22 removed

1 file+0 added−22 removed

modified:lib/express.core.js-22 removed
330 unmodified lines
331 put = Express.routeFunctionFor('put')332 333})()334335get ('/users', function(){336 if (user = param('user')) return 'User: ' + user337 else return 'List of users'338})339340get (/foo(bar)?/, function(){341 return 'test'342})343344post ('/users', function(){345 return 'Posted data'346})347348get ('/user/:name/:op', function(){349 return param('op') + ' user "' + (param('name') || 'none') + '"'350})351352get (/admin\/(system|reports)/, function(){353 p(captures)354 return captures[1]355})356335Express.start()