Use exported field with struct tag in tests.

Found by golint.
This commit is contained in:
Dave Collins 2015-02-19 10:56:09 -06:00
parent f61b8c808d
commit 586ea151a9

View File

@ -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{})
}(),