1
0
Fork 0
mirror of https://github.com/imjasonh/go-marvel synced 2026-07-18 06:47:49 +00:00

move to marvel package, make test class a test

This commit is contained in:
Jason Hall 2014-04-25 23:13:47 -04:00
parent 432b811382
commit b5c11ceb32
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
package main
package marvel
import (
"crypto/md5"

View file

@ -1,14 +1,14 @@
package main
package marvel
import (
"fmt"
"testing"
)
func main() {
func TestRequest(t *testing.T) {
r, err := NewClient("d96b5157cfc7a60cbfaa715dc23c3eb1", "ccbc72b222419e2a4e40b4027f3bcb356142651b").Series(2258, CommonRequest{})
if err != nil {
fmt.Printf("err: %v\n", err)
t.Errorf("error: %v", err)
return
}
fmt.Printf("%+v", r)
t.Logf("%+v", r)
}