Skip to content

Commit

Permalink
chore: fix linter import
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jul 29, 2024
1 parent 1802e83 commit 6e3888d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions x/logic/keeper/grpc_query_ask_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"testing"

"github.com/golang/mock/gomock"

. "github.com/smartystreets/goconvey/convey"

sdkmath "cosmossdk.io/math"
Expand Down
3 changes: 2 additions & 1 deletion x/logic/util/pointer.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion x/logic/util/pointer_test.go
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit 6e3888d

Please sign in to comment.