Skip to content

Commit

Permalink
npm code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sarao1310 committed May 15, 2023
1 parent 011b53e commit 435c14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func TestNpmPublishDetailedSummary(t *testing.T) {
if npmVersion.Compare("7.0.0") > 0 {
tarballName = "jfrog-cli-tests-1.0.0.tgz"
}
expectedSourcePath := npmProjectPath + "/" + tarballName
expectedSourcePath := filepath.Join(npmProjectPath, tarballName)
expectedTargetPath := serverDetails.ArtifactoryUrl + tests.NpmRepo + "/jfrog-cli-tests/-/" + tarballName
assert.Equal(t, expectedSourcePath, files[0].SourcePath, "Summary validation failed - unmatched SourcePath.")
assert.Equal(t, expectedTargetPath, files[0].RtUrl+files[0].TargetPath, "Summary validation failed - unmatched TargetPath.")
Expand Down

0 comments on commit 435c14d

Please sign in to comment.