(t *testing.T, repo repository.TestedRepo)
| 365 | } |
| 366 | |
| 367 | func createTestRepoCacheNoEvents(t *testing.T, repo repository.TestedRepo) *RepoCache { |
| 368 | t.Helper() |
| 369 | |
| 370 | cache, err := NewRepoCacheNoEvents(repo) |
| 371 | require.NoError(t, err) |
| 372 | |
| 373 | t.Cleanup(func() { |
| 374 | require.NoError(t, cache.Close()) |
| 375 | }) |
| 376 | |
| 377 | return cache |
| 378 | } |
no test coverage detected