mirror of
https://github.com/imjasonh/go-marvel
synced 2026-07-11 07:30:11 +00:00
14 lines
281 B
Go
14 lines
281 B
Go
package marvel
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestRequest(t *testing.T) {
|
|
r, err := NewClient("d96b5157cfc7a60cbfaa715dc23c3eb1", "ccbc72b222419e2a4e40b4027f3bcb356142651b").Series(2258, CommonRequest{})
|
|
if err != nil {
|
|
t.Errorf("error: %v", err)
|
|
return
|
|
}
|
|
t.Logf("%+v", r)
|
|
}
|