Skip to content

Commit

Permalink
run gci write on testutil
Browse files Browse the repository at this point in the history
  • Loading branch information
bizk committed Oct 25, 2023
1 parent 9c460f2 commit e9f9f4f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion testutil/testdata/animal.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package testdata
import (
"fmt"

"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/gogoproto/proto"

"github.com/cosmos/cosmos-sdk/codec/types"
)

type Animal interface {
Expand Down
3 changes: 2 additions & 1 deletion testutil/testdata/codec.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package testdata

import (
amino "github.com/tendermint/go-amino"

"github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
tx "github.com/cosmos/cosmos-sdk/types/tx"
amino "github.com/tendermint/go-amino"
)

func NewTestInterfaceRegistry() types.InterfaceRegistry {
Expand Down
5 changes: 3 additions & 2 deletions testutil/testdata/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import (
"fmt"
"testing"

"github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/gogoproto/proto"
grpc "google.golang.org/grpc"
"gotest.tools/v3/assert"

"github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)

// iterCount defines the number of iterations to run on each query to test
Expand Down
5 changes: 3 additions & 2 deletions testutil/testdata/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ package testdata
import (
"testing"

"gotest.tools/v3/assert"
"pgregory.net/rapid"

"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/query"
"gotest.tools/v3/assert"
"pgregory.net/rapid"
)

// AddressGenerator creates and returns a random address generator using rapid.
Expand Down

0 comments on commit e9f9f4f

Please sign in to comment.