Skip to content

Commit

Permalink
gp --exclusion new flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sarao1310 committed Jul 8, 2023
1 parent 31141db commit e6fab4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"os"
"os/exec"
"path/filepath"
"strconv"
"testing"

coretests "github.com/jfrog/jfrog-cli-core/v2/utils/tests"
Expand Down Expand Up @@ -217,7 +216,7 @@ func TestGoPublishWithExclusions(t *testing.T) {
expectedExistFilesPaths []string
expectedUnExistFilesPaths []string
}{
{strconv.Quote("./dir1/*"), tests.GetGoPublishWithExclusionsExpectedFiles1(), tests.GetGoPublishWithExclusionsExcludedFiles1()},
{"./dir1/*", tests.GetGoPublishWithExclusionsExpectedFiles1(), tests.GetGoPublishWithExclusionsExcludedFiles1()},
{"./dir1/dir2/*", tests.GetGoPublishWithExclusionsExpectedFiles2(), tests.GetGoPublishWithExclusionsExcludedFiles2()},
{"*.txt", nil, tests.GetGoPublishWithExclusionsExcludedFiles3()},
}
Expand Down

0 comments on commit e6fab4d

Please sign in to comment.