mirror of https://github.com/docker/cli.git
Merge pull request #3583 from thaJeztah/update_tests
TestSaveFileToDirs: use filepath.Join()
This commit is contained in:
commit
ec37bfb245
|
@ -60,10 +60,7 @@ func TestMissingFile(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestSaveFileToDirs(t *testing.T) {
|
||||
tmpHome := t.TempDir()
|
||||
|
||||
tmpHome += "/.docker"
|
||||
|
||||
tmpHome := filepath.Join(t.TempDir(), ".docker")
|
||||
config, err := Load(tmpHome)
|
||||
assert.NilError(t, err)
|
||||
|
||||
|
|
Loading…
Reference in New Issue