Skip to content

Commit 2b9e88f

Browse files
committed
Update v2/test/report_test.go
1 parent c4cde4d commit 2b9e88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2/test/report_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func Test_new_simple_report_with_artifact(t *testing.T) {
2929
run := given.a_new_report().
3030
with_a_run_added("tfsec", "https://tfsec.dev")
3131
when.an_artifact_is_added_to_the_run(run, "file://broken.go")
32-
then.report_text_is(`{"version":"2.1.0","$schema":"https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json","runs":[{"tool":{"driver":{"informationUri":"https://tfsec.dev","name":"tfsec","rules":[]}},"artifacts":[{"location":{"uri":"file://broken.go"},"length":-1}],"results":[]}]}`)
32+
then.report_text_is(`{"version":"2.1.0","$schema":"https://raw.githubusercontent.com/oasis-tcs/sarif-spec/main/sarif-2.1/schema/sarif-schema-2.1.0.json","runs":[{"tool":{"driver":{"informationUri":"https://tfsec.dev","name":"tfsec","rules":[]}},"artifacts":[{"location":{"uri":"file://broken.go"},"length":-1}],"results":[]}]}`)
3333
}
3434

3535
func Test_new_simple_report_with_propertybag(t *testing.T) {

0 commit comments

Comments
 (0)