Skip to content

Commit

Permalink
fix(lint): fix unused linter directive
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Aug 25, 2023
1 parent 6649667 commit 61b966a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion testutil/nullify/nullify.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var (
// reflection and initialize the nil and empty slices,
// structs, and pointers.
//
//nolint:exhaustive

func Fill(x interface{}) interface{} {
v := reflect.Indirect(reflect.ValueOf(x))
switch v.Kind() {

Check failure on line 23 in testutil/nullify/nullify.go

View workflow job for this annotation

GitHub Actions / lint-go

missing cases in switch of type reflect.Kind: reflect.Invalid, reflect.Bool, reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr, reflect.Float32, reflect.Float64, reflect.Complex64, reflect.Complex128, reflect.Array, reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Pointer|reflect.Ptr, reflect.String, reflect.UnsafePointer (exhaustive)
Expand Down
1 change: 0 additions & 1 deletion x/mint/types/minter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ func TestNextInflation(t *testing.T) {
}
}

//nolint:lll
func TestBlockProvision(t *testing.T) {
minter := InitialMinter(sdk.NewDecWithPrec(1, 1))
params := DefaultParams()
Expand Down

0 comments on commit 61b966a

Please sign in to comment.