Skip to content

Commit

Permalink
Use exported field with struct tag in tests.
Browse files Browse the repository at this point in the history
Found by golint.
  • Loading branch information
davecgh committed Feb 19, 2015
1 parent f61b8c8 commit 586ea15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/btcjson/help_test.go
Expand Up @@ -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{})
}(),
Expand Down

0 comments on commit 586ea15

Please sign in to comment.