tests: fix invalid test description
This commit is contained in:
parent
fdb0ceeeb5
commit
d5eec5df70
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ describe('TransactionBuilder', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
fixtures.invalid.fromTransaction.forEach(function (f) {
|
fixtures.invalid.fromTransaction.forEach(function (f) {
|
||||||
it('throws on ' + f.exception, function () {
|
it('throws ' + f.exception, function () {
|
||||||
var tx = Transaction.fromHex(f.txHex)
|
var tx = Transaction.fromHex(f.txHex)
|
||||||
|
|
||||||
assert.throws(function () {
|
assert.throws(function () {
|
||||||
|
@ -294,7 +294,7 @@ describe('TransactionBuilder', function () {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
it('throws', function () {
|
it('throws ' + f.exception, function () {
|
||||||
assert.throws(function () {
|
assert.throws(function () {
|
||||||
txb.build()
|
txb.build()
|
||||||
}, new RegExp(f.exception))
|
}, new RegExp(f.exception))
|
||||||
|
|
Loading…
Reference in a new issue