Skip to content

Commit

Permalink
👻 fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <[email protected]>
  • Loading branch information
pranavgaikwad committed Oct 5, 2023
1 parent 76bbe7a commit 1226fc5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions provider/internal/java/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func Test_parseUnresolvedSources(t *testing.T) {
name string
mvnOutput string
wantErr bool
wantList []string
wantList []javaArtifact
}{
{
name: "valid sources output",
Expand All @@ -23,8 +23,13 @@ The following files have NOT been resolved:
io.konveyor.demo:config-utils:jar:sources:1.0.0:compile
`,
wantErr: false,
wantList: []string{
"io/konveyor/demo/config-utils/1.0.0/config-utils-1.0.0.jar",
wantList: []javaArtifact{
{
packaging: JavaArchive,
groupId: "io.konveyor.demo",
artifactId: "config-utils",
version: "1.0.0",
},
},
},
}
Expand Down

0 comments on commit 1226fc5

Please sign in to comment.