Skip to content
Myr

fixed test due to HEAD change

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

  • tests:+5 added−1 removed

1 file+5 added−1 removed

modified:test/app.router.js+5 added-1 removed
8 unmodified lines
9 var app = express();10 var calls = [];1112 app[method]('/foo', function(req, res){13 if ('head' == method) {14 res.end();15 } else {13 res.end(method);16 res.end(method);17 }18 });1920 request(app)21 [method]('/foo')
418 unmodified lines