From 6e6258e1ab31bf7da405a6631f445c0202b93502 Mon Sep 17 00:00:00 2001 From: Mirek Petricek Date: Fri, 3 Feb 2017 22:45:34 +0000 Subject: [PATCH] Remove accidentaly introduced? noisy println from tests (#75) * use constants rather than strings in request.go * Remove accidentaly introduced? noisy println from tests --- request_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/request_test.go b/request_test.go index 4fcb3b6..d53be44 100644 --- a/request_test.go +++ b/request_test.go @@ -186,8 +186,7 @@ func TestUnmarshalInvalidJSON_BadType(t *testing.T) { {Field: "time_field", BadValue: "A string.", Error: ErrInvalidTime}, // Expected int64. {Field: "time_ptr_field", BadValue: "A string.", Error: ErrInvalidTime}, // Expected *time / int64. } - for idx, test := range badTypeTests { - println("index:", idx) + for _, test := range badTypeTests { out := new(ModelBadTypes) in := map[string]interface{}{} in[test.Field] = test.BadValue