Skip to content
Myr

no need for type coercion for testing methods

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

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

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express/core.js+1 added-1 removed
145 unmodified lines
146 * @api private147 */148149 match: function(route) {150 if (this.request.method.toLowerCase() == route.method)150 if (this.request.method.toLowerCase() === route.method)151 if (this.request.captures = this.request.url.pathname.match(route.path)) {152 this.mapParams(route)153 return true154 }
180 unmodified lines