TestSaveFileToDirs: use filepath.Join()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-06-17 14:51:16 +02:00
parent bfa9b40ce8
commit b901f5d142
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 4 deletions

View File

@ -60,10 +60,7 @@ func TestMissingFile(t *testing.T) {
} }
func TestSaveFileToDirs(t *testing.T) { func TestSaveFileToDirs(t *testing.T) {
tmpHome := t.TempDir() tmpHome := filepath.Join(t.TempDir(), ".docker")
tmpHome += "/.docker"
config, err := Load(tmpHome) config, err := Load(tmpHome)
assert.NilError(t, err) assert.NilError(t, err)