Remove accidentaly introduced? noisy println from tests (#75)

* use constants rather than strings in request.go

* Remove accidentaly introduced? noisy println from tests
This commit is contained in:
Mirek Petricek 2017-02-03 22:45:34 +00:00 committed by Aren Patel
parent 71d291e52c
commit 6e6258e1ab
1 changed files with 1 additions and 2 deletions

View File

@ -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