TestThreeMonthAgeCheck used 89*24h as "3 months minus 1 day", but 89 calendar days == exactly 3 months on dates like May 1 (Feb+Mar+Apr= 28+31+30=89). The equality case makes the >3-month eligibility check return true instead of false. Replace with AddDate-relative anchors so the test stays correct regardless of current date. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alerts.go | ||
| config.go | ||
| cooldown_test.go | ||
| crypto.go | ||
| Dockerfile | ||
| main.go | ||
| map_fairness.go | ||
| map_fairness_test.go | ||
| series_season.go | ||
| series_season_test.go | ||
| tickers.go | ||
| tickers_test.go | ||