Skip to content

Commit

Permalink
Fix CI for extra_materials
Browse files Browse the repository at this point in the history
Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
  • Loading branch information
pieterlexis committed Nov 9, 2021
1 parent e22365d commit 528e699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/slsa-provenance/cli/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func TestGenerateCliOptions(t *testing.T) {
},
{
name: "With broken extra materials (no uri)",
err: fmt.Errorf("Empty or missing \"uri\" field in /home/lieter/src/SLSA/slsa-provenance-action/test-data/materials-no-uri.json"),
err: fmt.Errorf("Empty or missing \"uri\" field in %s", path.Join(rootDir, "test-data/materials-no-uri.json")),
arguments: []string{
"-artifact_path",
path.Join(rootDir, "bin/slsa-provenance"),
Expand All @@ -392,7 +392,7 @@ func TestGenerateCliOptions(t *testing.T) {
},
{
name: "With broken extra materials (no digest)",
err: fmt.Errorf("Empty or missing \"digest\" in /home/lieter/src/SLSA/slsa-provenance-action/test-data/materials-no-digest.json"),
err: fmt.Errorf("Empty or missing \"digest\" in %s", path.Join(rootDir, "test-data/materials-no-digest.json")),
arguments: []string{
"-artifact_path",
path.Join(rootDir, "bin/slsa-provenance"),
Expand Down

0 comments on commit 528e699

Please sign in to comment.