test(index-builder): fix buildRivalryNarrative call signature

Added missing aID and bID arguments to match the function
signature in generator.go.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-04-28 23:40:57 -04:00
parent b13f98416b
commit 626a173e17

View file

@ -428,7 +428,7 @@ func TestBuildRivalryNarrative(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
narrative := buildRivalryNarrative("AlphaBot", "BetaBot", tt.aWins+tt.bWins+tt.draws, tt.aWins, tt.bWins, tt.draws, tt.streak)
narrative := buildRivalryNarrative("AlphaBot", "BetaBot", "alpha-id", "beta-id", tt.aWins+tt.bWins+tt.draws, tt.aWins, tt.bWins, tt.draws, tt.streak)
if tt.wantEmpty && narrative != "" {
t.Errorf("expected empty narrative, got %q", narrative)
}