From 11049cb0f90cf3b9ab5874833343765ba69663f8 Mon Sep 17 00:00:00 2001 From: attiasas Date: Tue, 26 Sep 2023 15:55:16 +0300 Subject: [PATCH] fix tests --- xray/utils/sarifutils_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xray/utils/sarifutils_test.go b/xray/utils/sarifutils_test.go index 596b3061d..62651e60f 100644 --- a/xray/utils/sarifutils_test.go +++ b/xray/utils/sarifutils_test.go @@ -314,11 +314,6 @@ func TestGetFullLocationFileName(t *testing.T) { }, expectedOutput: path.Join("root", "someDir", "another", "file"), }, - { - file: "another/file", - invocations: []*sarif.Invocation{{WorkingDirectory: sarif.NewSimpleArtifactLocation(path.Join("root", "someDir"))}}, - expectedOutput: path.Join("root", "someDir", "another", "file"), - }, } for _, test := range tests {