(ctx context.Context, t *testing.T, r repo.Repository, oid object.ID)
| 361 | } |
| 362 | |
| 363 | func mustGetObjectNotFound(ctx context.Context, t *testing.T, r repo.Repository, oid object.ID) { |
| 364 | t.Helper() |
| 365 | |
| 366 | if _, err := r.OpenObject(ctx, oid); !errors.Is(err, object.ErrObjectNotFound) { |
| 367 | t.Fatalf("unexpected non-existent object error: %v", err) |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | func mustPrefetchObjects(ctx context.Context, t *testing.T, r repo.Repository, oid ...object.ID) { |
| 372 | t.Helper() |
no test coverage detected