Skip to content

Commit e74ceea

Browse files
Balijepalli Vamshi KrishnaBalijepalli Vamshi Krishna
authored andcommitted
pin composite actions
1 parent af8645a commit e74ceea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

remediation/workflow/pin/pinactions_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"io/ioutil"
55
"log"
66
"net/http"
7-
"os"
87
"path"
98
"strings"
109
"testing"
@@ -366,7 +365,6 @@ func TestPinActions(t *testing.T) {
366365
var gotUpdated bool
367366
var err error
368367
var actionCommitMap map[string]string
369-
outputFilePath := path.Join(outputDirectory, tt.fileName+"output")
370368

371369
input, err := ioutil.ReadFile(path.Join(inputDirectory, tt.fileName))
372370

@@ -403,7 +401,6 @@ func TestPinActions(t *testing.T) {
403401
}
404402

405403
if output != string(expectedOutput) {
406-
os.WriteFile(outputFilePath, []byte(output), 0644)
407404
t.Errorf("test failed %s did not match expected output\n%s", tt.fileName, output)
408405
}
409406
}

0 commit comments

Comments
 (0)