aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache_test.go
diff options
context:
space:
mode:
authorvince <vincetiu8@gmail.com>2020-07-21 11:41:46 +0800
committerMichael Muré <batolettre@gmail.com>2020-07-28 14:30:06 +0200
commit9436cf4b8983699ef7a164f4036686dd83d345d4 (patch)
tree4117b85ef19a3526cda1bbd36a5c90fb679f8db5 /cache/repo_cache_test.go
parent7dbcca84c7a0b6658463e3e54690b8860b662b6e (diff)
downloadgit-bug-9436cf4b8983699ef7a164f4036686dd83d345d4.tar.gz
Move args parsing out of repo cache
Diffstat (limited to 'cache/repo_cache_test.go')
-rw-r--r--cache/repo_cache_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/repo_cache_test.go b/cache/repo_cache_test.go
index 276da4be..e5f8a037 100644
--- a/cache/repo_cache_test.go
+++ b/cache/repo_cache_test.go
@@ -103,7 +103,7 @@ func TestCache(t *testing.T) {
require.NoError(t, err)
// Possible to delete a bug
- err = cache.RemoveBug([]string{bug1.Id().Human()})
+ err = cache.RemoveBug(bug1.Id().Human(), "")
require.NoError(t, err)
require.Equal(t, len(cache.AllBugsIds()), 1)
}