diff --git a/pkg/cmd/browse/browse_test.go b/pkg/cmd/browse/browse_test.go index cceba045a..b38fa57f0 100644 --- a/pkg/cmd/browse/browse_test.go +++ b/pkg/cmd/browse/browse_test.go @@ -696,7 +696,7 @@ func Test_parsePathFromFileArg(t *testing.T) { { name: "go to root of repository", currentDir: "pkg/cmd/browse/", - fileArg: filepath.Join("../../../"), + fileArg: filepath.FromSlash("../../../"), expectedPath: "", }, { diff --git a/pkg/cmd/run/download/download_test.go b/pkg/cmd/run/download/download_test.go index e0f5eb781..a90ae74b5 100644 --- a/pkg/cmd/run/download/download_test.go +++ b/pkg/cmd/run/download/download_test.go @@ -527,7 +527,7 @@ func Test_runDownload(t *testing.T) { }, }, expectedFiles: []string{ - filepath.Join("non-artifact-2-file"), + "non-artifact-2-file", }, }, { @@ -681,7 +681,7 @@ func Test_runDownload(t *testing.T) { }) }, expectedFiles: []string{ - filepath.Join("artifact-2-file"), + "artifact-2-file", }, }, {