From e717733aa86efa8639745de5d179a611b5431d79 Mon Sep 17 00:00:00 2001 From: Tejas Manohar Date: Tue, 6 Oct 2015 19:43:09 -0500 Subject: [PATCH] no need to assign error in catch{}-able test --- test/application.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/application.js b/test/application.js index acdb9e4..dead3ae 100644 --- a/test/application.js +++ b/test/application.js @@ -940,7 +940,6 @@ describe('app.respond', function(){ yield next; this.body = 'Hello'; } catch (err) { - error = err; this.body = 'Got error'; } });