From e8c359add5d878e52b2b2daf663e92f0dde8577d Mon Sep 17 00:00:00 2001 From: tgiachi Date: Tue, 10 Nov 2026 12:01:54 +0100 Subject: [PATCH] test(cli): drop an unused assignment flagged by staticcheck --- internal/cli/cli_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/cli_test.go b/internal/cli/cli_test.go index 423f29f..b834f6b 100644 --- a/internal/cli/cli_test.go +++ b/internal/cli/cli_test.go @@ -988,7 +988,7 @@ func TestTokenIsNotSentOverPlainHTTPToARemoteHost(t *testing.T) { t.Fatalf("PARSIMONY_URL: %d %q", code, errs) } // No token to protect, no URL check: offline commands never build the client. - code, _, errs = e.runEnv(t, nil, "", "--url", "http://lists.example.org", "dkim", "record", "example.org", "--key", filepath.Join(t.TempDir(), "none")) + _, _, errs = e.runEnv(t, nil, "", "--url", "http://lists.example.org", "dkim", "record", "example.org", "--key", filepath.Join(t.TempDir(), "none")) if strings.Contains(errs, "--insecure") { t.Fatalf("offline commands must not care about the URL") }