Skip to content

Commit

Permalink
tighten up spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloGrayson committed May 25, 2016
1 parent cf7ffed commit 31951c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crossdock/crossdock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,11 @@ func call(t *testing.T, args url.Values) {
u, err := url.Parse("http://127.0.0.1:8080")
require.NoError(t, err, "failed to parse URL")

u.RawQuery = args.Encode()

ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()

u.RawQuery = args.Encode()
log.Println("GET", u.String())

res, err := ctxhttp.Get(ctx, nil, u.String())

require.NoError(t, err, "request %v failed", args)
Expand Down

0 comments on commit 31951c9

Please sign in to comment.