From 58fdb956b582d0d6d28dc20d0c43b96b0e4bae27 Mon Sep 17 00:00:00 2001 From: pooleja Date: Fri, 21 Jul 2017 23:04:50 -0700 Subject: [PATCH] Add assert to prevent regression --- test/Ownable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Ownable.js b/test/Ownable.js index 3d8be3be3..57fcba40e 100644 --- a/test/Ownable.js +++ b/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); }