1
0
Fork 0
mirror of https://github.com/imjasonh/go-marvel synced 2026-07-16 12:31:57 +00:00
go-marvel/marvel_test.go

17 lines
352 B
Go
Raw Normal View History

package marvel
import (
"testing"
)
func TestRequest(t *testing.T) {
2014-04-25 23:10:20 -04:00
r, err := NewClient("d96b5157cfc7a60cbfaa715dc23c3eb1", "ccbc72b222419e2a4e40b4027f3bcb356142651b").Series(2258, CommonRequest{})
if err != nil {
t.Errorf("error: %v", err)
return
}
2014-04-26 00:04:11 -04:00
for _, iss := range r.Data.Results {
t.Logf(iss.Thumbnail.URL(PortraitIncredible))
}
}