Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts committed Dec 19, 2024
1 parent fa27e0d commit 277311d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/notation/verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ func TestGetVerifier(t *testing.T) {
})
}

func dummyOCIPolicyDocument() trustpolicy.OCIDocument {
return trustpolicy.OCIDocument{
func dummyOCIPolicyDocument() trustpolicy.Document {
return trustpolicy.Document{
Version: "1.0",
TrustPolicies: []trustpolicy.OCITrustPolicy{
TrustPolicies: []trustpolicy.TrustPolicy{
{
Name: "test-statement-name",
RegistryScopes: []string{"registry.acme-rockets.io/software/net-monitor"},
Expand Down

0 comments on commit 277311d

Please sign in to comment.