diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-01 19:52:05 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-01 19:52:05 +0300 |
| commit | 6c26a1c42c01104442e354cae1f7e14052b55082 (patch) | |
| tree | 688baf485636e3bc9703ac38ea35836690920c96 /internal/cli/command_test.go | |
| parent | 4a7c3822956fee540cac2a51538c50bbb5007dac (diff) | |
z9: clarify GUI provider matrix
Diffstat (limited to 'internal/cli/command_test.go')
| -rw-r--r-- | internal/cli/command_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/cli/command_test.go b/internal/cli/command_test.go index 6c5273d..2efe405 100644 --- a/internal/cli/command_test.go +++ b/internal/cli/command_test.go @@ -26,8 +26,8 @@ func TestCreateRootCommand(t *testing.T) { if !strings.Contains(cmd.Long, "uses Nano Banana for images by default") { t.Errorf("Expected Long description to describe the Nano Banana GUI default") } - if !strings.Contains(cmd.Long, "Use --image-api to override the image backend") { - t.Errorf("Expected Long description to explain the image backend override") + if !strings.Contains(cmd.Long, "Use --image-api for explicit CLI runs; it currently supports OpenAI only") { + t.Errorf("Expected Long description to explain the current explicit CLI image-provider matrix") } // Test that flags are set up @@ -109,8 +109,8 @@ func TestSetupFlags(t *testing.T) { if imageAPIFlag.DefValue != "openai" { t.Errorf("Expected default image-api to be openai, got %s", imageAPIFlag.DefValue) } - if imageAPIFlag.Usage != "Image source override (GUI no-arg path defaults to Nano Banana; explicit CLI default is OpenAI)" { - t.Errorf("Expected image-api help to describe the GUI Nano Banana default and explicit CLI override, got %q", imageAPIFlag.Usage) + if imageAPIFlag.Usage != "Image source for explicit CLI runs (OpenAI only for now; GUI no-arg path defaults to Nano Banana)" { + t.Errorf("Expected image-api help to describe the GUI Nano Banana default and OpenAI-only CLI image path, got %q", imageAPIFlag.Usage) } nanoBananaModelFlag := cmd.Flags().Lookup("nanobanana-model") |
