diff options
Diffstat (limited to 'cache/repo_cache_test.go')
-rw-r--r-- | cache/repo_cache_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/repo_cache_test.go b/cache/repo_cache_test.go index 3c11220d..e3a9cc15 100644 --- a/cache/repo_cache_test.go +++ b/cache/repo_cache_test.go @@ -318,7 +318,7 @@ func TestCacheEviction(t *testing.T) { checkBugPresence(t, repoCache, bug2, true) checkBugPresence(t, repoCache, bug3, true) - // Accessing bug should update position in lruCache and therefore it should not be evicted + // Accessing bug should update position in lruCache, and therefore it should not be evicted repoCache.bugs.lru.Get(bug2.Id()) oldestId, _ := repoCache.bugs.lru.GetOldest() require.Equal(t, bug3.Id(), oldestId) |