no need to assign error in catch{}-able test

This commit is contained in:
Tejas Manohar 2015-10-06 19:43:09 -05:00
parent b2bcbcec7c
commit e717733aa8

View file

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