Update to testrpc 6.0.1 and test fixes for revert opcode.
This commit is contained in:
committed by
Alejandro Santander
parent
b9cbea1c9c
commit
c29dd086d3
3
test/helpers/assertRevert.js
Normal file
3
test/helpers/assertRevert.js
Normal file
@ -0,0 +1,3 @@
|
||||
module.exports = function(error) {
|
||||
assert.isAbove(error.message.search('revert'), -1, 'Error containing "revert" must be returned');
|
||||
}
|
||||
Reference in New Issue
Block a user