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") }