diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-02 17:31:29 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-02 17:31:29 +0300 |
| commit | f3b5f58a171eeb47716e2d15a40c4c480d2d5ef9 (patch) | |
| tree | cf461894a613e0d7bad1a36e04dd420654514391 /internal/processor/processor_test.go | |
| parent | 4d16684f92544d1cf90dfc5080378ca2f1abe18e (diff) | |
task 002: centralize Gemini voice fallbacks
Diffstat (limited to 'internal/processor/processor_test.go')
| -rw-r--r-- | internal/processor/processor_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processor/processor_test.go b/internal/processor/processor_test.go index a0c6ae1..cd6e2eb 100644 --- a/internal/processor/processor_test.go +++ b/internal/processor/processor_test.go @@ -712,10 +712,10 @@ func TestGenerateGeminiAudioWithFallbacksRetriesAlternateVoice(t *testing.T) { flags.AudioProvider = "gemini" p := NewProcessor(flags) - if err := p.generateGeminiAudioWithFallbacks("Charon", func(voice string) error { + if _, err := audio.RunWithVoiceFallbacks("Charon", func(voice string) error { return p.generateAudioWithVoice("ябълка", voice) }); err != nil { - t.Fatalf("generateGeminiAudioWithFallbacks() unexpected error: %v", err) + t.Fatalf("RunWithVoiceFallbacks() unexpected error: %v", err) } if got, want := strings.Join(attemptedVoices, ","), "Charon,Kore"; got != want { |
