Address/HDNode: fix test descriptions
This commit is contained in:
parent
27f9e7dc1e
commit
943621f466
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ describe('Address', function() {
|
||||||
})
|
})
|
||||||
|
|
||||||
fixtures.invalid.fromBase58Check.forEach(function(f) {
|
fixtures.invalid.fromBase58Check.forEach(function(f) {
|
||||||
it('throws on ' + f.descpription, function() {
|
it('throws on ' + f.description, function() {
|
||||||
assert.throws(function() {
|
assert.throws(function() {
|
||||||
Address.fromBase58Check(f.base58check)
|
Address.fromBase58Check(f.base58check)
|
||||||
}, new RegExp(f.exception))
|
}, new RegExp(f.exception))
|
||||||
|
|
|
@ -136,7 +136,7 @@ describe('HDNode', function() {
|
||||||
})
|
})
|
||||||
|
|
||||||
fixtures.invalid.fromBuffer.forEach(function(f) {
|
fixtures.invalid.fromBuffer.forEach(function(f) {
|
||||||
it('throws on ' + f.string, function() {
|
it('throws on ' + f.hex, function() {
|
||||||
assert.throws(function() {
|
assert.throws(function() {
|
||||||
HDNode.fromHex(f.hex)
|
HDNode.fromHex(f.hex)
|
||||||
}, new RegExp(f.exception))
|
}, new RegExp(f.exception))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue