Merge pull request #491 from tejasmanohar/remove_err_assignment
no need to assign error in catch{}-able test
This commit is contained in:
commit
65cc864c9b
1 changed files with 0 additions and 1 deletions
|
@ -940,7 +940,6 @@ describe('app.respond', function(){
|
|||
yield next;
|
||||
this.body = 'Hello';
|
||||
} catch (err) {
|
||||
error = err;
|
||||
this.body = 'Got error';
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue