(ctx context.Context, t *testing.T, r repo.Repository, oid ...object.ID)
| 369 | } |
| 370 | |
| 371 | func mustPrefetchObjects(ctx context.Context, t *testing.T, r repo.Repository, oid ...object.ID) { |
| 372 | t.Helper() |
| 373 | |
| 374 | contents, err := r.PrefetchObjects(ctx, oid, "") |
| 375 | require.NoError(t, err) |
| 376 | require.NotEmpty(t, contents) |
| 377 | } |
| 378 | |
| 379 | func mustPrefetchObjectsNotFound(ctx context.Context, t *testing.T, r repo.Repository, oid ...object.ID) { |
| 380 | t.Helper() |
no test coverage detected