From 586ea151a94707564154a71f24ce260cc2bd7dc8 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 19 Feb 2015 10:56:09 -0600 Subject: [PATCH] Use exported field with struct tag in tests. Found by golint. --- v2/btcjson/help_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/btcjson/help_test.go b/v2/btcjson/help_test.go index 505fb050..a58f06e9 100644 --- a/v2/btcjson/help_test.go +++ b/v2/btcjson/help_test.go @@ -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{}) }(),