mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-09 09:15:35 +02:00
invoices: re-format overreaching code lines
This commit is contained in:
@@ -37,7 +37,9 @@ func newInvoiceExpiryWatcherTest(t *testing.T, now time.Time,
|
||||
err := test.watcher.Start(func(paymentHash lntypes.Hash,
|
||||
force bool) error {
|
||||
|
||||
test.canceledInvoices = append(test.canceledInvoices, paymentHash)
|
||||
test.canceledInvoices = append(
|
||||
test.canceledInvoices, paymentHash,
|
||||
)
|
||||
test.wg.Done()
|
||||
return nil
|
||||
})
|
||||
@@ -70,7 +72,8 @@ func (t *invoiceExpiryWatcherTest) checkExpectations() {
|
||||
// that expired.
|
||||
if len(t.canceledInvoices) != len(t.testData.expiredInvoices) {
|
||||
t.t.Fatalf("expected %v cancellations, got %v",
|
||||
len(t.testData.expiredInvoices), len(t.canceledInvoices))
|
||||
len(t.testData.expiredInvoices),
|
||||
len(t.canceledInvoices))
|
||||
}
|
||||
|
||||
for i := range t.canceledInvoices {
|
||||
|
Reference in New Issue
Block a user