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;
this.body = 'Hello';
} catch (err) {
error = err;
this.body = 'Got error';
}
});