Skip to content

Commit

Permalink
add --module flag to jf rt bad
Browse files Browse the repository at this point in the history
  • Loading branch information
sarao1310 committed Jul 20, 2023
1 parent 7f704af commit 3ed03fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildinfo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ func TestBuildAddDependencies(t *testing.T) {
if coreutils.IsWindows() {
var compatibilityTests = []buildAddDepsBuildInfoTestParams{
{description: "'rt bad' win compatibility by arguments", commandArgs: []string{"testdata\\\\a\\\\a1.in"}, expectedDependencies: []string{"a1.in"}, expectedModule: tests.RtBuildName1},
{description: "'rt bad' win compatibility by arguments", commandArgs: []string{"testdata\\\\a\\\\a1.in", "--module=" + ModuleNameJFrogTest}, expectedDependencies: []string{"a1.in"}, expectedModule: ModuleNameJFrogTest},
{description: "'rt bad' win compatibility by spec", commandArgs: []string{"--spec=" + tests.GetFilePathForArtifactory(tests.WinBuildAddDepsSpec)}, expectedDependencies: allFiles, expectedModule: tests.RtBuildName1},
}
badTests = append(badTests, compatibilityTests...)
Expand Down

0 comments on commit 3ed03fe

Please sign in to comment.