Merge pull request #3583 from thaJeztah/update_tests

TestSaveFileToDirs: use filepath.Join()
This commit is contained in:
Sebastiaan van Stijn 2022-05-13 11:46:06 +02:00 committed by GitHub
commit ec37bfb245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {
tmpHome := t.TempDir()
tmpHome += "/.docker"
tmpHome := filepath.Join(t.TempDir(), ".docker")
config, err := Load(tmpHome)
assert.NilError(t, err)