forked from Mirrors/jsonapi
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:
parent
71d291e52c
commit
6e6258e1ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue