Fix trends
This commit is contained in:
parent
10887ac302
commit
16e8b34638
2 changed files with 9 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue