test(cli): drop an unused assignment flagged by staticcheck
This commit is contained in:
parent
b4f45035bb
commit
e8c359add5
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue