From d3fe3586f50545575978f8d73a649afabc915008 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 1 Apr 2026 13:15:13 +0300 Subject: zr: preserve Gemini init errors and docs --- internal/processor/processor_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'internal/processor') diff --git a/internal/processor/processor_test.go b/internal/processor/processor_test.go index 9e6b5fc..d0a0070 100644 --- a/internal/processor/processor_test.go +++ b/internal/processor/processor_test.go @@ -110,9 +110,9 @@ func TestProcessSingleWord_InvalidWord(t *testing.T) { } func TestProcessSingleWord_ValidWord(t *testing.T) { - // Skip if no API key - if os.Getenv("OPENAI_API_KEY") == "" || os.Getenv("GOOGLE_API_KEY") == "" { - t.Skip("Skipping test: OPENAI_API_KEY and GOOGLE_API_KEY must be set") + // Skip if no OpenAI API key + if os.Getenv("OPENAI_API_KEY") == "" { + t.Skip("Skipping test: OPENAI_API_KEY must be set") } flags := cli.NewFlags() @@ -162,9 +162,9 @@ func TestProcessBatch_ValidFile(t *testing.T) { flags.SkipImages = true p := NewProcessor(flags) - // Skip if no API keys - if os.Getenv("OPENAI_API_KEY") == "" || os.Getenv("GOOGLE_API_KEY") == "" { - t.Skip("Skipping test: OPENAI_API_KEY and GOOGLE_API_KEY must be set") + // Skip if no OpenAI API key + if os.Getenv("OPENAI_API_KEY") == "" { + t.Skip("Skipping test: OPENAI_API_KEY must be set") } err = p.ProcessBatch() -- cgit v1.2.3