Skip to content

Commit

Permalink
ci: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Jan 8, 2025
1 parent 02ce65f commit b170b9e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,10 @@ func TestClientClosesThenReconnects(t *testing.T) {
}

func TestServeAcme(t *testing.T) {
dir, _ := os.MkdirTemp("", "cert")
defer os.RemoveAll(dir)

h := createAnonymousDummy(WithAllowedHosts([]string{"example.com"}))
h.config.Set("acme_http01_addr", ":8080")
h.config.Set("acme_http01_addr", ":8080")
h.config.Set("acme_cert_dir", dir)
h.config.Set("acme_cert_dir", t.TempDir())

go h.Serve()
client := &http.Client{
Expand Down

0 comments on commit b170b9e

Please sign in to comment.