Commit 58fdb956 by pooleja

Add assert to prevent regression

parent 6d565ef8
...@@ -38,6 +38,7 @@ contract('Ownable', function(accounts) { ...@@ -38,6 +38,7 @@ contract('Ownable', function(accounts) {
let originalOwner = await ownable.owner(); let originalOwner = await ownable.owner();
try { try {
await ownable.transferOwnership(null, {from: originalOwner}); await ownable.transferOwnership(null, {from: originalOwner});
assert.fail()
} catch(error) { } catch(error) {
assertJump(error); assertJump(error);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment