Merge pull request #327 from jakub-wojciechowski/master

fix testing error throwing
This commit is contained in:
Francisco Giordano
2017-07-22 22:17:32 -03:00
committed by GitHub
10 changed files with 54 additions and 45 deletions

View File

@ -29,6 +29,7 @@ contract('Ownable', function(accounts) {
assert.isTrue(owner !== other);
try {
await ownable.transferOwnership(other, {from: other});
assert.fail('should have thrown before');
} catch(error) {
assertJump(error);
}