fix(scraper): verify complete article evidence (#40)

This commit is contained in:
2026-11-24 19:24:29 +01:00
parent 70ffe41cfb
commit a55dc2e189
27 changed files with 833 additions and 132 deletions

View File

@ -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)
})