summaryrefslogtreecommitdiffstats
path: root/modules/indexer/issues/bleve_test.go
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2021-01-18 03:21:14 +0200
committerGitHub <noreply@github.com>2021-01-17 20:21:14 -0500
commitf5abe2f563e7dbcfd278bb05b8236af9d10a4e8e (patch)
treef448512c2db0712a9a1eee63e21909c1f6c5762f /modules/indexer/issues/bleve_test.go
parent3aa53dc6bc7e20fa7c894275e27910ea61a59bb3 (diff)
downloadgitea-f5abe2f563e7dbcfd278bb05b8236af9d10a4e8e.tar.gz
gitea-f5abe2f563e7dbcfd278bb05b8236af9d10a4e8e.zip
Upgrade blevesearch dependency to v2.0.1 (#14346)
* Upgrade blevesearch dependency to v2.0.1 * Update rupture to v1.0.0 * Fix test
Diffstat (limited to 'modules/indexer/issues/bleve_test.go')
-rw-r--r--modules/indexer/issues/bleve_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/indexer/issues/bleve_test.go b/modules/indexer/issues/bleve_test.go
index a8b6e8138b..2a8ed15d82 100644
--- a/modules/indexer/issues/bleve_test.go
+++ b/modules/indexer/issues/bleve_test.go
@@ -92,6 +92,6 @@ func TestBleveIndexAndSearch(t *testing.T) {
for _, hit := range res.Hits {
ids = append(ids, hit.ID)
}
- assert.EqualValues(t, kw.IDs, ids)
+ assert.ElementsMatch(t, kw.IDs, ids)
}
}