Commit 58fdb956 by pooleja

Add assert to prevent regression

parent 6d565ef8
......@@ -38,6 +38,7 @@ contract('Ownable', function(accounts) {
let originalOwner = await ownable.owner();
try {
await ownable.transferOwnership(null, {from: originalOwner});
assert.fail()
} catch(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