fix(scraper): verify complete article evidence (#40)
This commit is contained in:
@ -46,8 +46,8 @@ func TestTicket20Yahoo400DiagnosticConnectsSymbolsStatusAndCountWithoutResponseB
|
||||
var articles int
|
||||
logs := ticket20CaptureStdout(t, func() {
|
||||
got, err := yahoo.Scrape(context.Background(), []string{"SSAAPL INDEX"})
|
||||
if err != nil {
|
||||
t.Fatalf("Scrape returned error: %v", err)
|
||||
if err == nil {
|
||||
t.Fatal("failed RSS must be a source failure, not a reachable empty source")
|
||||
}
|
||||
articles = len(got)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user