From 251fff943d29279c9293442e6b7e2813f5aed075 Mon Sep 17 00:00:00 2001 From: sarao Date: Sun, 9 Jul 2023 12:08:03 +0300 Subject: [PATCH] gp --exclusion new flag --- artifactory/commands/golang/archive_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifactory/commands/golang/archive_test.go b/artifactory/commands/golang/archive_test.go index 8c1e18433..2570c7f51 100644 --- a/artifactory/commands/golang/archive_test.go +++ b/artifactory/commands/golang/archive_test.go @@ -63,6 +63,6 @@ func TestGetAbsolutePaths(t *testing.T) { assert.NoError(t, err) wd, err := os.Getwd() assert.NoError(t, err) - expectedResults := []string{wd + "/dir1/*", wd + "/*.txt", wd + "/*/dir2/*"} + expectedResults := []string{filepath.Join(wd, "dir1", "*"), filepath.Join(wd, "*.txt"), filepath.Join(wd, "*", "dir2", "*")} assert.ElementsMatch(t, result, expectedResults) }