diff options
Diffstat (limited to 'vendor/golang.org/x/crypto/acme/autocert/cache_test.go')
-rw-r--r-- | vendor/golang.org/x/crypto/acme/autocert/cache_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/golang.org/x/crypto/acme/autocert/cache_test.go b/vendor/golang.org/x/crypto/acme/autocert/cache_test.go index 6e1b88d57..653b05bed 100644 --- a/vendor/golang.org/x/crypto/acme/autocert/cache_test.go +++ b/vendor/golang.org/x/crypto/acme/autocert/cache_test.go @@ -21,6 +21,7 @@ func TestDirCache(t *testing.T) { if err != nil { t.Fatal(err) } + defer os.RemoveAll(dir) dir = filepath.Join(dir, "certs") // a nonexistent dir cache := DirCache(dir) ctx := context.Background() |