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:
parent
b13f98416b
commit
626a173e17
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue