From c161c0f2e9f28cea895c38aa2c3ec6ea8b85be44 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 11 Sep 2017 12:22:34 -0500 Subject: [PATCH] refactor: remove duplicate assignment in respond test (#1055) Signed-off-by: Clark Du --- test/application/respond.js | 1 - 1 file changed, 1 deletion(-) 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'); });