Address/HDNode: fix test descriptions
This commit is contained in:
parent
27f9e7dc1e
commit
943621f466
@ -29,7 +29,7 @@ describe('Address', function() {
|
||||
})
|
||||
|
||||
fixtures.invalid.fromBase58Check.forEach(function(f) {
|
||||
it('throws on ' + f.descpription, function() {
|
||||
it('throws on ' + f.description, function() {
|
||||
assert.throws(function() {
|
||||
Address.fromBase58Check(f.base58check)
|
||||
}, new RegExp(f.exception))
|
||||
|
||||
@ -136,7 +136,7 @@ describe('HDNode', function() {
|
||||
})
|
||||
|
||||
fixtures.invalid.fromBuffer.forEach(function(f) {
|
||||
it('throws on ' + f.string, function() {
|
||||
it('throws on ' + f.hex, function() {
|
||||
assert.throws(function() {
|
||||
HDNode.fromHex(f.hex)
|
||||
}, new RegExp(f.exception))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user