fix selftest errors

This commit is contained in:
Garrett D'Amore
2015-06-24 19:46:32 +00:00
parent 4dd18d1699
commit 7bca49adbb

View File

@@ -55,6 +55,6 @@ func newTestResponse(method string, path string, body io.Reader) ([]byte, *http.
ts := httptest.NewServer(http.HandlerFunc(Handler))
defer ts.Close()
url := ts.URL + path
b, r, _ := greq.Do(method, url, body)
b, r, _ := greq.Do(method, url, nil, body)
return b, r
}