Merge pull request #327 from jakub-wojciechowski/master
fix testing error throwing
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user