diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-02 16:36:25 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-02 16:36:25 +0300 |
| commit | 6bd23a588bacee2e8c75f477150b7e2d345002ff (patch) | |
| tree | 67bfa78afe206e7560350bdd52c60e0e80ec3243 /internal/audio/provider_test.go | |
| parent | 6ce9123de04ffff961cbf1da73648679216ff637 (diff) | |
Release v0.9.0v0.9.0
Diffstat (limited to 'internal/audio/provider_test.go')
| -rw-r--r-- | internal/audio/provider_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/audio/provider_test.go b/internal/audio/provider_test.go index c13e823..a08b7a6 100644 --- a/internal/audio/provider_test.go +++ b/internal/audio/provider_test.go @@ -36,8 +36,8 @@ func TestDefaultProviderConfig(t *testing.T) { t.Errorf("Expected provider 'gemini', got '%s'", config.Provider) } - if config.OutputFormat != "wav" { - t.Errorf("Expected output format 'wav', got '%s'", config.OutputFormat) + if config.OutputFormat != "mp3" { + t.Errorf("Expected output format 'mp3', got '%s'", config.OutputFormat) } if config.OpenAIModel != "gpt-4o-mini-tts" { @@ -73,8 +73,8 @@ func TestDefaultProviderConfigIsGeminiCompatible(t *testing.T) { } outputFile := filepath.Join(t.TempDir(), "audio."+config.OutputFormat) - if filepath.Ext(outputFile) != ".wav" { - t.Fatalf("DefaultProviderConfig() output file %q is incompatible with Gemini TTS", outputFile) + if filepath.Ext(outputFile) != ".mp3" { + t.Fatalf("DefaultProviderConfig() output file %q does not use the default mp3 extension", outputFile) } if !strings.HasSuffix(config.GeminiTTSModel, "-tts") { |
