Fix linting

This commit is contained in:
Kunal Karmakar 2026-03-28 03:57:19 +00:00
parent 2fa8fd6e1b
commit 7a33b25e61

View file

@ -478,7 +478,7 @@ func TestParseResponseBody_FailedStatus(t *testing.T) {
if err != nil { if err != nil {
t.Fatalf("error: %v", err) t.Fatalf("error: %v", err)
} }
// failed/cancelled statuses are not specially mapped; they fall through to "stop" // failed/canceled statuses are not specially mapped; they fall through to "stop"
if result.FinishReason != "stop" { if result.FinishReason != "stop" {
t.Errorf("FinishReason = %q, want %q", result.FinishReason, "stop") t.Errorf("FinishReason = %q, want %q", result.FinishReason, "stop")
} }