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