Add e2e tests for slsa-github-generator v1.2.2 (#355)

* Add e2e tests for slsa-github-generator v1.2.2

* Fix testdata

Signed-off-by: Ian Lewis <ianmlewis@gmail.com>
This commit is contained in:
Ian Lewis
2022-11-15 00:31:04 +09:00
committed by GitHub
parent f7bd16431b
commit bbe98e8f2e
18 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.idea
vendor

View File

@@ -554,7 +554,7 @@ func Test_runVerifyGHAArtifactPath(t *testing.T) {
outBuilderID, err := cmd.Exec(context.Background(), []string{artifactPath})
if !errCmp(err, tt.err) {
t.Errorf(cmp.Diff(err, tt.err, cmpopts.EquateErrors()))
t.Errorf("%v: %v", v, cmp.Diff(err, tt.err, cmpopts.EquateErrors()))
}
if err != nil {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long