From d5eec5df70be7a6e01af0ad2b9d58863851f64a2 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Wed, 28 Sep 2016 00:16:51 +1000 Subject: [PATCH] tests: fix invalid test description --- test/transaction_builder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/transaction_builder.js b/test/transaction_builder.js index 51cde35..412bb7b 100644 --- a/test/transaction_builder.js +++ b/test/transaction_builder.js @@ -108,7 +108,7 @@ describe('TransactionBuilder', function () { }) fixtures.invalid.fromTransaction.forEach(function (f) { - it('throws on ' + f.exception, function () { + it('throws ' + f.exception, function () { var tx = Transaction.fromHex(f.txHex) assert.throws(function () { @@ -294,7 +294,7 @@ describe('TransactionBuilder', function () { } }) - it('throws', function () { + it('throws ' + f.exception, function () { assert.throws(function () { txb.build() }, new RegExp(f.exception))