Fix search test
This commit is contained in:
parent
d2c02be68c
commit
4dc07d6ce9
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ func TestGetSearchTweets(t *testing.T) {
|
|||
count := 0
|
||||
maxTweetsNbr := 150
|
||||
dupcheck := make(map[string]bool)
|
||||
scraper := New().WithDelay(1)
|
||||
scraper := New().WithDelay(2)
|
||||
for tweet := range scraper.SearchTweets(context.Background(), "twitter -filter:retweets", maxTweetsNbr) {
|
||||
if tweet.Error != nil {
|
||||
t.Error(tweet.Error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue