Use exported field with struct tag in tests.
Found by golint.
This commit is contained in:
parent
f61b8c808d
commit
586ea151a9
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ func TestResultStructHelp(t *testing.T) {
|
|||
name: "struct with primitive field and json tag",
|
||||
reflectType: func() reflect.Type {
|
||||
type s struct {
|
||||
field int `json:"f"`
|
||||
Field int `json:"f"`
|
||||
}
|
||||
return reflect.TypeOf(s{})
|
||||
}(),
|
||||
|
|
Loading…
Reference in a new issue