Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed May 29, 2020
1 parent c1ef643 commit 931dc76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions handlers/http_test.go
Expand Up @@ -22,11 +22,11 @@ import (
"zgo.at/goatcounter/gctest"
"zgo.at/goatcounter/pack"
"zgo.at/guru"
"zgo.at/zstd/zjson"
"zgo.at/zstd/zstring"
"zgo.at/zdb"
"zgo.at/zhttp"
"zgo.at/zlog"
"zgo.at/zstd/zjson"
"zgo.at/zstd/zstring"
"zgo.at/ztest"
)

Expand Down Expand Up @@ -184,7 +184,7 @@ func newTest(ctx context.Context, method, path string, body io.Reader) (*http.Re
// Note: this is primitive, but enough for now.
func formBody(i interface{}) string {
var m map[string]string
zjson.MustUnmarshal(jsonutil.MustMarshal(i), &m)
zjson.MustUnmarshal(zjson.MustMarshal(i), &m)

f := make(url.Values)
for k, v := range m {
Expand Down
2 changes: 1 addition & 1 deletion pack/pack.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 931dc76

Please sign in to comment.