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:
parent
1201492222
commit
637b0b47ee
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue