lntest/itest: fix line wrapping in funding test case

This commit is contained in:
Olaoluwa Osuntokun committed 2020-07-10 16:27:18 -07:00
1 parent 6f208bce40
commit 6c322c5eb2
1 file changed
+8 -3
+8 -3
View File
@@ -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 "+