test: rephrase fail -> throw

This commit is contained in:
Daniel Cousens 2014-07-28 18:13:00 +10:00
parent 2920bb2ee1
commit eaf8cf85af

View file

@ -304,7 +304,7 @@ describe('Wallet', function() {
})
describe('processConfirmedTx', function(){
it('does not fail on scripts with no corresponding Address', function() {
it('does not throw on scripts with no corresponding Address', function() {
var pubKey = wallet.getPrivateKey(0).pub
var script = scripts.pubKeyOutput(pubKey)
var tx2 = new Transaction()