We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f09f7 commit 16c1607Copy full SHA for 16c1607
pkg/skaffold/config/util_test.go
@@ -17,6 +17,7 @@ limitations under the License.
17
package config
18
19
import (
20
+ "path/filepath"
21
"strings"
22
"testing"
23
@@ -79,7 +80,7 @@ func TestResolveConfigFile(t *testing.T) {
79
80
testutil.Run(t, "", func(t *testutil.T) {
81
actual, err := ResolveConfigFile("")
82
t.CheckNoError(err)
- const suffix = ".skaffold/config"
83
+ suffix := filepath.FromSlash(".skaffold/config")
84
if !strings.HasSuffix(actual, suffix) {
85
t.Errorf("expecting %q to have suffix %q", actual, suffix)
86
}
0 commit comments