summaryrefslogtreecommitdiff
path: root/internal/processor/processor_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-03 08:08:51 +0300
committerPaul Buetow <paul@buetow.org>2026-04-03 08:08:51 +0300
commitd53b03d280363ecc6068ba93985adfc4defee956 (patch)
tree741182d83abd584fb133da2057a9af986d8f8a41 /internal/processor/processor_test.go
parent170a4a9d46a32bcb28c04f6ff6bb1a48284ec424 (diff)
fix: resolve all golangci-lint issues
- audio/fallbacks.go: lowercase error string per Go convention - gui/app.go: remove empty else branch in keyboard shortcut handler - audio/provider_test.go: remove unused mockProvider type - update test assertions in voices_test.go and processor_test.go to match the corrected lowercase error string Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/processor_test.go')
-rw-r--r--internal/processor/processor_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processor/processor_test.go b/internal/processor/processor_test.go
index 0d0e9e3..bcd57a7 100644
--- a/internal/processor/processor_test.go
+++ b/internal/processor/processor_test.go
@@ -789,7 +789,7 @@ func TestGenerateAudioReturnsExhaustedGeminiFallbackError(t *testing.T) {
if !errors.Is(err, audio.ErrGeminiNoAudioData) {
t.Fatalf("generateAudio() error = %v, want wrapped ErrGeminiNoAudioData", err)
}
- if got, want := err.Error(), "Gemini returned no audio for voices Charon: no audio data returned from Gemini"; got != want {
+ if got, want := err.Error(), "gemini returned no audio for voices Charon: no audio data returned from Gemini"; got != want {
t.Fatalf("generateAudio() error text = %q, want %q", got, want)
}
}