From 6c322c5eb2dea0870ebd9fa72ff245bc0a8a602d Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 1 Jul 2020 21:06:31 -0700 Subject: [PATCH] lntest/itest: fix line wrapping in funding test case --- lntest/itest/lnd_test.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index 90a938435..b6aa1933b 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -1457,9 +1457,14 @@ test: // Check that the signalled type matches what we // expect. switch { - case expType == commitTypeAnchors && chansCommitType == lnrpc.CommitmentType_ANCHORS: - case expType == commitTypeTweakless && chansCommitType == lnrpc.CommitmentType_STATIC_REMOTE_KEY: - case expType == commitTypeLegacy && chansCommitType == lnrpc.CommitmentType_LEGACY: + case expType == commitTypeAnchors && + chansCommitType == lnrpc.CommitmentType_ANCHORS: + + case expType == commitTypeTweakless && + chansCommitType == lnrpc.CommitmentType_STATIC_REMOTE_KEY: + + case expType == commitTypeLegacy && + chansCommitType == lnrpc.CommitmentType_LEGACY: default: t.Fatalf("expected nodes to signal "+