diff --git a/bench/scenario_validation.go b/bench/scenario_validation.go index fdb73543..45fade22 100644 --- a/bench/scenario_validation.go +++ b/bench/scenario_validation.go @@ -439,7 +439,7 @@ func allAPISuccessCheck(ctx context.Context, sc *Scenario, step *isucandar.Bench return fmt.Errorf("参加した大会数が違います (want: %d, got: %d)", 1, len(r.Data.Scores)) } if competitionTitle != r.Data.Scores[0].CompetitionTitle { - return fmt.Errorf("参加した大会IDが違います (want: %s, got: %s)", competitionTitle, r.Data.Scores[checkPlayerIndex].CompetitionTitle) + return fmt.Errorf("参加した大会IDが違います (want: %s, got: %s)", competitionTitle, r.Data.Scores[0].CompetitionTitle) } if int64(100+checkPlayerIndex) != r.Data.Scores[0].Score { return fmt.Errorf("スコアが違います (want: %d, got: %d)", 100+checkPlayerIndex, r.Data.Scores[0].Score)