aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bug/select
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bug/select')
-rw-r--r--commands/bug/select/select_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/commands/bug/select/select_test.go b/commands/bug/select/select_test.go
index 5533ac2b..83ca6643 100644
--- a/commands/bug/select/select_test.go
+++ b/commands/bug/select/select_test.go
@@ -13,11 +13,8 @@ import (
func TestSelect(t *testing.T) {
repo := repository.CreateGoGitTestRepo(t, false)
- repoCache, events, err := cache.NewRepoCache(repo)
+ repoCache, err := cache.NewRepoCacheNoEvents(repo)
require.NoError(t, err)
- for event := range events {
- require.NoError(t, event.Err)
- }
_, _, err = ResolveBug(repoCache, []string{})
require.Equal(t, ErrNoValidId, err)