Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Nov 12, 2023
1 parent e781993 commit b4290e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xray/utils/resultwriter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func TestGetXrayIssueLocationIfValidExists(t *testing.T) {
name: "No descriptor information",
tech: coreutils.Pip,
run: CreateRunWithDummyResults().WithInvocations([]*sarif.Invocation{invocation}),
expectedOutput: sarif.NewLocation().WithPhysicalLocation(sarif.NewPhysicalLocation().WithArtifactLocation(sarif.NewArtifactLocation().WithUri("file://Package Descriptor"))),
expectedOutput: sarif.NewLocation().WithPhysicalLocation(sarif.NewPhysicalLocation().WithArtifactLocation(sarif.NewArtifactLocation().WithUri("file://Package-Descriptor"))),
},
{
name: "One descriptor information",
Expand Down

0 comments on commit b4290e2

Please sign in to comment.