diff options
author | Michael Muré <batolettre@gmail.com> | 2020-12-08 14:42:13 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-12-08 14:42:13 +0100 |
commit | c884d557bf5e0ebdbe6e3b20535af24c2e97d29f (patch) | |
tree | 3bb95fcf0d6a2a19e6915cdcc1da4d70bc448bb4 /cache/repo_cache_test.go | |
parent | 71e1303234ef227851998f08c98c7c69670c9966 (diff) | |
download | git-bug-c884d557bf5e0ebdbe6e3b20535af24c2e97d29f.tar.gz |
repo: move bleve there
Diffstat (limited to 'cache/repo_cache_test.go')
-rw-r--r-- | cache/repo_cache_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cache/repo_cache_test.go b/cache/repo_cache_test.go index 1c5c41d2..bd06e84d 100644 --- a/cache/repo_cache_test.go +++ b/cache/repo_cache_test.go @@ -73,7 +73,9 @@ func TestCache(t *testing.T) { // Querying q, err := query.Parse("status:open author:descartes sort:edit-asc") require.NoError(t, err) - require.Len(t, cache.QueryBugs(q), 2) + res, err := cache.QueryBugs(q) + require.NoError(t, err) + require.Len(t, res, 2) // Close require.NoError(t, cache.Close()) |