TestSaveFileToDirs: use filepath.Join()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-05-04 19:49:10 +02:00
parent bfa9b40ce8
commit b901f5d142
+1 -4
View File
@@ -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)