From 1ba04c69259f3627dfc3dc112f26f315f0c88206 Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Thu, 14 Mar 2024 21:38:43 -0600 Subject: [PATCH] normalize artifact path Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/verify/verify_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/attestation/verify/verify_test.go b/pkg/cmd/attestation/verify/verify_test.go index 69c73e50c..7f26713d7 100644 --- a/pkg/cmd/attestation/verify/verify_test.go +++ b/pkg/cmd/attestation/verify/verify_test.go @@ -169,7 +169,7 @@ func TestNewVerifyCmd(t *testing.T) { name: "Has both cert-identity and cert-identity-regex flags", cli: "../test/data/sigstore-js-2.1.0.tgz --owner sigstore --cert-identity https://github.com/sigstore/ --cert-identity-regex ^https://github.com/sigstore/", wants: Options{ - ArtifactPath: "../test/data/sigstore-js-2.1.0.tgz", + ArtifactPath: test.NormalizeRelativePath("../test/data/sigstore-js-2.1.0.tgz"), DigestAlgorithm: "sha256", Limit: 30, OIDCIssuer: GitHubOIDCIssuer,