diff options
author | Javier Peletier <jm@epiclabs.io> | 2018-09-30 15:43:10 +0800 |
---|---|---|
committer | Javier Peletier <jm@epiclabs.io> | 2018-10-03 15:12:06 +0800 |
commit | 83705ef6aa3645a6305a400fa175e44904a929f7 (patch) | |
tree | 013c6594b7d275ab5eaa90b3969e77719787483f /swarm/testutil/http.go | |
parent | b35622cf3c758d96874f287d137725946fc6341d (diff) | |
download | go-tangerine-83705ef6aa3645a6305a400fa175e44904a929f7.tar.gz go-tangerine-83705ef6aa3645a6305a400fa175e44904a929f7.tar.zst go-tangerine-83705ef6aa3645a6305a400fa175e44904a929f7.zip |
swarm/storage/mru: Renamed rest of MRU references
Diffstat (limited to 'swarm/testutil/http.go')
-rw-r--r-- | swarm/testutil/http.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/swarm/testutil/http.go b/swarm/testutil/http.go index 2309c39f0..2162da880 100644 --- a/swarm/testutil/http.go +++ b/swarm/testutil/http.go @@ -48,14 +48,14 @@ func NewTestSwarmServer(t *testing.T, serverFunc func(*api.API) TestServer, reso } fileStore := storage.NewFileStore(localStore, storage.NewFileStoreParams()) - // mutable resources test setup - resourceDir, err := ioutil.TempDir("", "swarm-resource-test") + // Swarm Feeds test setup + feedsDir, err := ioutil.TempDir("", "swarm-feeds-test") if err != nil { t.Fatal(err) } rhparams := &mru.HandlerParams{} - rh, err := mru.NewTestHandler(resourceDir, rhparams) + rh, err := mru.NewTestHandler(feedsDir, rhparams) if err != nil { t.Fatal(err) } @@ -71,7 +71,7 @@ func NewTestSwarmServer(t *testing.T, serverFunc func(*api.API) TestServer, reso srv.Close() rh.Close() os.RemoveAll(dir) - os.RemoveAll(resourceDir) + os.RemoveAll(feedsDir) }, CurrentTime: 42, } |