diff --git a/swarm/api/http/server_test.go b/swarm/api/http/server_test.go index 07858909780502dc45fd18cf0f63c49e1634f863..88b49b9a5e061f31cabdaf31c730fd9489ad2f5d 100644 --- a/swarm/api/http/server_test.go +++ b/swarm/api/http/server_test.go @@ -113,6 +113,9 @@ func TestBzzrGetPath(t *testing.T) { url += common.ToHex(key[0])[2:] + "/" + k[1:] + "?content_type=text/plain" } resp, err = http.Get(url) + if err != nil { + t.Fatalf("Request failed: %v", err) + } defer resp.Body.Close() respbody, err = ioutil.ReadAll(resp.Body)