Add assert to prevent regression

pull/323/head
pooleja 8 years ago
parent 6d565ef841
commit 58fdb956b5
  1. 1
      test/Ownable.js

@ -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);
}

Loading…
Cancel
Save