Merge pull request #491 from tejasmanohar/remove_err_assignment

no need to assign error in catch{}-able test
This commit is contained in:
TJ Holowaychuk 2015-10-08 14:39:15 -07:00
commit 65cc864c9b

View file

@ -940,7 +940,6 @@ describe('app.respond', function(){
yield next; yield next;
this.body = 'Hello'; this.body = 'Hello';
} catch (err) { } catch (err) {
error = err;
this.body = 'Got error'; this.body = 'Got error';
} }
}); });