mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 10:53:15 +02:00
Fix filepath handling on Windows (#1754)
This commit is contained in:
+1
-1
@@ -1522,7 +1522,7 @@ func TestLoadDesiredStateFromYaml_DuplicateReleaseName(t *testing.T) {
|
||||
stage: post
|
||||
`)
|
||||
readFile := func(filename string) ([]byte, error) {
|
||||
if filename != yamlFile {
|
||||
if filepath.ToSlash(filename) != yamlFile {
|
||||
return nil, fmt.Errorf("unexpected filename: %s", filename)
|
||||
}
|
||||
return yamlContent, nil
|
||||
|
||||
Reference in New Issue
Block a user