Skip to content

Commit f5e5118

Browse files
committed
add test assertion
1 parent c827ea7 commit f5e5118

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

go/client_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,12 @@ func TestUserAgentSentInRequests(t *testing.T) {
494494
t.Fatalf("error creating client: %s", err)
495495
}
496496

497-
_, _ = client.GetFeeds(context.Background())
497+
_, err = client.GetFeeds(context.Background())
498+
if err != nil {
499+
t.Fatalf("GetFeeds() error = %v", err)
500+
}
498501
}
499502

500-
501503
type mockServer struct {
502504
server *httptest.Server
503505
}

0 commit comments

Comments
 (0)