Function
creationFailure
(owners, threshold, done)
Source from the content-addressed store, hash-verified
| 164 | } |
| 165 | |
| 166 | let creationFailure = async function(owners, threshold, done) { |
| 167 | |
| 168 | try { |
| 169 | await SimpleMultiSig.new(threshold, owners, CHAINID, {from: accounts[0]}) |
| 170 | } |
| 171 | catch(error) { |
| 172 | errMsg = error.message |
| 173 | } |
| 174 | |
| 175 | assert.equal(errMsg, 'VM Exception while processing transaction: revert', 'Test did not throw') |
| 176 | |
| 177 | done() |
| 178 | } |
| 179 | |
| 180 | before((done) => { |
| 181 | |
Tested by
no test coverage detected