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 0bc18ec commit 114989d
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 @@ -232,7 +232,8 @@ func TestGoPublishWithExclusions(t *testing.T) {
inttestutils.VerifyExistInArtifactory(tests.GetGoPublishWithExclusionsExpectedRepoGo(), searchFilePath, serverDetails, t)
// Creating a temporary directory to download for it the content of the zip file from artifactory.
tmpDir, createTempDirCallback := coretests.CreateTempDirWithCallbackAndAssert(t)

clientTestUtils.RemoveAllAndAssert(t, tmpDir)
assert.NoError(t, os.Mkdir(tmpDir, 0777))
runRt(t, "download", tests.GoRepo, tmpDir+"/", "--explode=true")
// Checking if the expected files exists in the zip file after downloading from artifactory with unzipping it.
for _, path := range test.expectedExistFilesPaths {
Expand Down

0 comments on commit 114989d

Please sign in to comment.