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 114989d commit 073ee22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"os"
"os/exec"
"path/filepath"
"strconv"
"testing"

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

0 comments on commit 073ee22

Please sign in to comment.