We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8645a commit e74ceeaCopy full SHA for e74ceea
remediation/workflow/pin/pinactions_test.go
@@ -4,7 +4,6 @@ import (
4
"io/ioutil"
5
"log"
6
"net/http"
7
- "os"
8
"path"
9
"strings"
10
"testing"
@@ -366,7 +365,6 @@ func TestPinActions(t *testing.T) {
366
365
var gotUpdated bool
367
var err error
368
var actionCommitMap map[string]string
369
- outputFilePath := path.Join(outputDirectory, tt.fileName+"output")
370
371
input, err := ioutil.ReadFile(path.Join(inputDirectory, tt.fileName))
372
@@ -403,7 +401,6 @@ func TestPinActions(t *testing.T) {
403
401
}
404
402
405
if output != string(expectedOutput) {
406
- os.WriteFile(outputFilePath, []byte(output), 0644)
407
t.Errorf("test failed %s did not match expected output\n%s", tt.fileName, output)
408
409
0 commit comments