Browse Source

HDWallet: adds missing exception regex

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
8b3634c866
  1. 2
      test/hdwallet.js

2
test/hdwallet.js

@ -130,7 +130,7 @@ describe('HDWallet', function() {
})
it('throws an exception when unknown network type is passed in', function() {
assert.throws(function() { new HDWallet(new Buffer('foobar'), 'doge') })
assert.throws(function() { new HDWallet(new Buffer('foobar'), 'doge') }, /Unknown network: doge/)
})
it('throws an exception with bad network type using fromBuffer', function() {

Loading…
Cancel
Save