0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

basicauth: Make test pass with Go 1.10

This commit is contained in:
Matthew Holt 2018-02-18 00:13:11 -07:00
parent 1201492222
commit 637b0b47ee
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -171,7 +171,7 @@ md5:$apr1$l42y8rex$pOA2VJ0x/0TwaFeAF9nX61`
htfh, err := ioutil.TempFile("", "basicauth-") htfh, err := ioutil.TempFile("", "basicauth-")
if err != nil { if err != nil {
t.Skipf("Error creating temp file (%v), will skip htpassword test") t.Skip("Error creating temp file, will skip htpassword test")
return return
} }
defer os.Remove(htfh.Name()) defer os.Remove(htfh.Name())