From 35e1de6f975088ade5dbf0af533fe6fdac8fcc94 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 2 Nov 2025 23:42:15 +0200 Subject: some linter fixes --- internal/hexaicli/run_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/hexaicli/run_test.go') diff --git a/internal/hexaicli/run_test.go b/internal/hexaicli/run_test.go index 991965e..43576cf 100644 --- a/internal/hexaicli/run_test.go +++ b/internal/hexaicli/run_test.go @@ -146,7 +146,7 @@ model = "gpt-x" t.Fatalf("expected error due to missing API key") } // Accept either explicit "LLM disabled" or a generic provider error emitted by Run. - if !(strings.Contains(errb.String(), "LLM disabled") || strings.Contains(errb.String(), "openai error") || strings.Contains(errb.String(), "hexai: error:")) { + if !strings.Contains(errb.String(), "LLM disabled") && !strings.Contains(errb.String(), "openai error") && !strings.Contains(errb.String(), "hexai: error:") { t.Fatalf("expected disabled-or-error message, got %q", errb.String()) } } -- cgit v1.2.3