diff options
Diffstat (limited to 'cmd/swarm/feeds_test.go')
-rw-r--r-- | cmd/swarm/feeds_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 |