diff --git a/test/application/respond.js b/test/application/respond.js index 6602114..3a81ed1 100644 --- a/test/application/respond.js +++ b/test/application/respond.js @@ -544,7 +544,6 @@ describe('app.respond', () => { ctx.length = fs.readFileSync('package.json').length; const stream = fs.createReadStream('package.json'); ctx.body = stream; - ctx.body = stream; ctx.set('Content-Type', 'application/json; charset=utf-8'); });