Skip to content

Commit

Permalink
Fix go vet errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
echlebek committed Nov 22, 2017
1 parent 7e75ec4 commit 2c7b6ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/dynamic/dynamic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestGetStructField(t *testing.T) {

test := struct {
Valid int `json:"valid"`
invalidUnexported int `json:"invalid"`
invalidUnexported int
ValidEmpty int `json:"validEmpty"`
InvalidEmpty int `json:"invalidEmpty,omitempty"`
Invalid int `json:"-"`
Expand Down Expand Up @@ -52,7 +52,7 @@ func TestGetJSONStructField(t *testing.T) {

test := struct {
Valid int `json:"valid"`
invalidUnexported int `json:"invalid"`
invalidUnexported int
ValidEmpty int `json:"validEmpty"`
InvalidEmpty int `json:"invalidEmpty,omitempty"`
Invalid int `json:"-"`
Expand Down

0 comments on commit 2c7b6ed

Please sign in to comment.