From dc07788e539215261b1a4a1a34cca068f9ad1a8d Mon Sep 17 00:00:00 2001 From: David de Kloet Date: Tue, 19 May 2015 08:58:16 +0200 Subject: [PATCH] Put )); on a separate line. --- test/transaction/transaction.js | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/test/transaction/transaction.js b/test/transaction/transaction.js index 052d7da..aea6f7e 100644 --- a/test/transaction/transaction.js +++ b/test/transaction/transaction.js @@ -423,38 +423,43 @@ describe('Transaction', function() { .fee(50000000) .change(changeAddress) .sign(privateKey); - }, 'disableLargeFees', errors.Transaction.FeeError.TooLarge)); + }, 'disableLargeFees', errors.Transaction.FeeError.TooLarge + )); it('can skip the check for a fee that is too small', buildSkipTest( function(transaction) { return transaction .fee(1) .change(changeAddress) .sign(privateKey); - }, 'disableSmallFees', errors.Transaction.FeeError.TooSmall)); + }, 'disableSmallFees', errors.Transaction.FeeError.TooSmall + )); it('can skip the check that prevents dust outputs', buildSkipTest( function(transaction) { return transaction .to(toAddress, 100) .change(changeAddress) .sign(privateKey); - }, 'disableDustOutputs', errors.Transaction.DustOutputs)); + }, 'disableDustOutputs', errors.Transaction.DustOutputs + )); it('can skip the check that prevents unsigned outputs', buildSkipTest( function(transaction) { return transaction .to(toAddress, 10000) .change(changeAddress); - }, 'disableIsFullySigned', errors.Transaction.MissingSignatures)); + }, 'disableIsFullySigned', errors.Transaction.MissingSignatures + )); it('can skip the check that avoids spending more bitcoins than the inputs for a transaction', buildSkipTest( function(transaction) { return transaction .to(toAddress, 10000000000000) .change(changeAddress); - }, 'disableMoreOutputThanInput', - errors.Transaction.InvalidOutputAmountSum, - { - 'disableSmallFees': true, - 'disableIsFullySigned': true - })); + }, 'disableMoreOutputThanInput', + errors.Transaction.InvalidOutputAmountSum, + { + 'disableSmallFees': true, + 'disableIsFullySigned': true + } + )); }); });