Skip to content

Commit

Permalink
Remove accidentaly introduced? noisy println from tests (google#75)
Browse files Browse the repository at this point in the history
* use constants rather than strings in request.go

* Remove accidentaly introduced? noisy println from tests
  • Loading branch information
mirekp authored and aren55555 committed Feb 3, 2017
1 parent 71d291e commit 6e6258e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e6258e

Please sign in to comment.