tests: fix invalid test description

This commit is contained in:
Daniel Cousens 2016-09-28 00:16:51 +10:00
parent fdb0ceeeb5
commit d5eec5df70

View file

@ -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))