Skip to content

Commit 7f7aefc

Browse files
committed
fix indentations
1 parent b354613 commit 7f7aefc

5 files changed

Lines changed: 11 additions & 12 deletions

File tree

pkg/cascadekit/cascadekit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"encoding/base64"
55
"testing"
66

7-
"github.com/LumeraProtocol/supernode/v2/pkg/codec"
87
"github.com/DataDog/zstd"
8+
"github.com/LumeraProtocol/supernode/v2/pkg/codec"
99
)
1010

1111
func TestExtractIndexAndCreatorSig_Strict(t *testing.T) {

pkg/cascadekit/ids.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"bytes"
55
"strconv"
66

7+
"github.com/DataDog/zstd"
78
"github.com/LumeraProtocol/supernode/v2/pkg/errors"
89
"github.com/LumeraProtocol/supernode/v2/pkg/utils"
910
"github.com/cosmos/btcutil/base58"
10-
"github.com/DataDog/zstd"
1111
)
1212

1313
// GenerateLayoutIDs computes IDs for redundant layout files (not the final index IDs).

pkg/net/credentials/alts/handshake/handshake_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"testing"
1212
"time"
1313

14-
"go.uber.org/mock/gomock"
1514
"github.com/stretchr/testify/require"
15+
"go.uber.org/mock/gomock"
1616

1717
lumeraidmocks "github.com/LumeraProtocol/lumera/x/lumeraid/mocks"
1818
"github.com/LumeraProtocol/lumera/x/lumeraid/securekeyx"
@@ -304,14 +304,14 @@ func TestHandshakerConcurrentHandshakes(t *testing.T) {
304304
ctrl := gomock.NewController(t)
305305
defer ctrl.Finish()
306306

307-
// Create handshake pairs
308-
for i := range tc.numHandshakes {
309-
clientKr := CreateTestKeyring()
310-
serverKr := CreateTestKeyring()
307+
// Create handshake pairs
308+
for i := range tc.numHandshakes {
309+
clientKr := CreateTestKeyring()
310+
serverKr := CreateTestKeyring()
311311

312-
accountClient := fmt.Sprintf("client-%d", i)
313-
accountServer := fmt.Sprintf("server-%d", i)
314-
testAccounts := SetupTestAccounts(t, clientKr, []string{accountClient})
312+
accountClient := fmt.Sprintf("client-%d", i)
313+
accountServer := fmt.Sprintf("server-%d", i)
314+
testAccounts := SetupTestAccounts(t, clientKr, []string{accountClient})
315315
clientAddr := testAccounts[0].Address
316316

317317
testAccounts = SetupTestAccounts(t, serverKr, []string{accountServer})

supernode/supernode_metrics/gateway_url_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ func TestGatewayStatusURL_IPv6BracketedHost(t *testing.T) {
2525
t.Fatalf("got %q want %q", got, want)
2626
}
2727
}
28-

tests/integration/securegrpc/secure_connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"testing"
1313
"time"
1414

15-
"go.uber.org/mock/gomock"
1615
"github.com/stretchr/testify/require"
16+
"go.uber.org/mock/gomock"
1717
"google.golang.org/grpc/grpclog"
1818
"google.golang.org/grpc/health"
1919
"google.golang.org/grpc/health/grpc_health_v1"

0 commit comments

Comments
 (0)