Wallet: use assert for consistency

This commit is contained in:
Daniel Cousens 2014-05-31 12:16:01 +10:00
parent 5b7873d05b
commit 3bce535e36
2 changed files with 5 additions and 6 deletions

View file

@ -546,7 +546,7 @@ describe('Wallet', function() {
assert.throws(function() {
wallet.createTx(to, value)
}, /Value must be above dust threshold/)
}, /5430 must be above dust threshold \(5430 Satoshis\)/)
})
})
@ -556,7 +556,7 @@ describe('Wallet', function() {
assert.throws(function() {
wallet.createTx(to, value)
}, /Not enough funds: 1420000 < 1420001/)
}, /Not enough funds \(incl. fee\): 1420000 < 1420001/)
})
})
})