Skip to content
Myr

Fixed req.send tests for string objects

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

authored by Pierre Matri · committed by Pierre Matri · parent 0f58593 · 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

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/res.send.js+1 added-1 removed
129 unmodified lines
130 it('should not override Content-Type', function(done){131 var app = express();132133 app.use(function(req, res){134 res.set('Content-Type', 'text/plain').send('hey');134 res.set('Content-Type', 'text/plain').send(new String('hey'));135 });136137 request(app)138 .get('/')
118 unmodified lines