Browse Source

Script: adds missing exception regex

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
b05d17f904
  1. 4
      test/script.js

4
test/script.js

@ -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…
Cancel
Save