Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 6e6258e

Browse files
mirekparen55555
authored andcommitted
Remove accidentaly introduced? noisy println from tests (#75)
* use constants rather than strings in request.go * Remove accidentaly introduced? noisy println from tests
1 parent 71d291e commit 6e6258e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

request_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ func TestUnmarshalInvalidJSON_BadType(t *testing.T) {
186186
{Field: "time_field", BadValue: "A string.", Error: ErrInvalidTime}, // Expected int64.
187187
{Field: "time_ptr_field", BadValue: "A string.", Error: ErrInvalidTime}, // Expected *time / int64.
188188
}
189-
for idx, test := range badTypeTests {
190-
println("index:", idx)
189+
for _, test := range badTypeTests {
191190
out := new(ModelBadTypes)
192191
in := map[string]interface{}{}
193192
in[test.Field] = test.BadValue

0 commit comments

Comments
 (0)