Script: adds missing exception regex
This commit is contained in:
parent
8b3634c866
commit
b05d17f904
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ describe('Script', function() {
|
|||
})
|
||||
|
||||
it('throws an error when input is not an array', function() {
|
||||
assert.throws(function(){ new Script({}) })
|
||||
assert.throws(function(){ new Script({}) }, /Expected Array, got/)
|
||||
})
|
||||
})
|
||||
|
||||
|
@ -153,7 +153,7 @@ describe('Script', function() {
|
|||
|
||||
assert.throws(function() {
|
||||
Script.createMultisigScriptSig(signatures.slice(1), redeemScript)
|
||||
})
|
||||
}, /Not enough signatures provided/)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue