mirror of https://github.com/docker/cli.git
TestSaveFileToDirs: use filepath.Join()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
bfa9b40ce8
commit
b901f5d142
|
@ -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