HDWallet: adds missing exception regex
This commit is contained in:
parent
7494a146a6
commit
8b3634c866
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue