lntest/itest: fix line wrapping in funding test case

This commit is contained in:
Olaoluwa Osuntokun 2020-07-01 21:06:31 -07:00
parent 6f208bce40
commit 6c322c5eb2
No known key found for this signature in database
GPG Key ID: BC13F65E2DC84465

@ -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 "+