(t *testing.T, a auth.AuthorizationInfo, labels map[string]string, wantLevel auth.AccessLevel)
| 189 | } |
| 190 | |
| 191 | func verifyManifestAccessLevel(t *testing.T, a auth.AuthorizationInfo, labels map[string]string, wantLevel auth.AccessLevel) { |
| 192 | t.Helper() |
| 193 | |
| 194 | if got, want := a.ManifestAccessLevel(labels), wantLevel; got != want { |
| 195 | t.Errorf("invalid access level to %v: %v, want %v", labels, got, want) |
| 196 | } |
| 197 | } |
no test coverage detected