Fix trends

This commit is contained in:
Alexander Sheiko 2023-05-30 17:14:38 +03:00
parent 10887ac302
commit 16e8b34638
2 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,7 @@ func TestGetTrends(t *testing.T) {
scraper := twitterscraper.New()
trends, err := scraper.GetTrends()
if err != nil {
t.Error(err)
t.Fatal(err)
}
if len(trends) != 20 {