diff --git a/x/logic/keeper/grpc_query_ask_test.go b/x/logic/keeper/grpc_query_ask_test.go index db1003070..76d1042a4 100644 --- a/x/logic/keeper/grpc_query_ask_test.go +++ b/x/logic/keeper/grpc_query_ask_test.go @@ -8,6 +8,7 @@ import ( "testing" "github.com/golang/mock/gomock" + . "github.com/smartystreets/goconvey/convey" sdkmath "cosmossdk.io/math" diff --git a/x/logic/util/pointer.go b/x/logic/util/pointer.go index 0f9c5c34d..bfc29541a 100644 --- a/x/logic/util/pointer.go +++ b/x/logic/util/pointer.go @@ -1,8 +1,9 @@ package util import ( - sdkmath "cosmossdk.io/math" "reflect" + + sdkmath "cosmossdk.io/math" ) // DerefOrDefault returns the value of the pointer if it is not nil, otherwise returns the default value. diff --git a/x/logic/util/pointer_test.go b/x/logic/util/pointer_test.go index d23607d85..a7cefc25b 100644 --- a/x/logic/util/pointer_test.go +++ b/x/logic/util/pointer_test.go @@ -1,11 +1,12 @@ package util import ( - sdkmath "cosmossdk.io/math" "fmt" "testing" . "github.com/smartystreets/goconvey/convey" + + sdkmath "cosmossdk.io/math" ) func TestDerefOrDefault(t *testing.T) {