diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-01 13:15:13 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-01 13:15:13 +0300 |
| commit | d3fe3586f50545575978f8d73a649afabc915008 (patch) | |
| tree | df11fc9e4c684ccabe9cf3fb006fc5fb616d3eb0 /internal/processor | |
| parent | 5b88a045b29970a3cc057326b85eae58ab41fe02 (diff) | |
zr: preserve Gemini init errors and docs
Diffstat (limited to 'internal/processor')
| -rw-r--r-- | internal/processor/processor_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
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() |
