From 696bc9b01ce0ed3347fa1bd64460ccc08091e90a Mon Sep 17 00:00:00 2001 From: Javier Peletier Date: Tue, 2 Oct 2018 09:36:11 +0200 Subject: swarm/storage/feeds: renamed vars that can conflict with package name --- cmd/swarm/feeds_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cmd/swarm') diff --git a/cmd/swarm/feeds_test.go b/cmd/swarm/feeds_test.go index 055d0ab4c..dd0651a25 100644 --- a/cmd/swarm/feeds_test.go +++ b/cmd/swarm/feeds_test.go @@ -101,13 +101,13 @@ func TestCLIFeedUpdate(t *testing.T) { } // Feed configures whose updates we will be looking up. - feed := feeds.Feed{ + fd := feeds.Feed{ Topic: topic, User: address, } // Build a query to get the latest update - query := feeds.NewQueryLatest(&feed, lookup.NoClue) + query := feeds.NewQueryLatest(&fd, lookup.NoClue) // retrieve content! reader, err := client.QueryFeed(query, "") @@ -146,8 +146,8 @@ func TestCLIFeedUpdate(t *testing.T) { } // make sure the retrieved feed is the same - if request.Feed != feed { - t.Fatalf("Expected feed to be: %s, got %s", feed, request.Feed) + if request.Feed != fd { + t.Fatalf("Expected feed to be: %s, got %s", fd, request.Feed) } // test publishing a manifest -- cgit v1.2.3