summaryrefslogtreecommitdiffstats
path: root/modules/indexer/issues/bleve_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-02-25 00:16:20 +0800
committertechknowlogick <matti@mdranta.net>2019-02-24 11:16:20 -0500
commit15ecc08475c49926b9d5f6fb4182578683f75d63 (patch)
tree94064c7701146619b05dd614b42dde68d8c370c5 /modules/indexer/issues/bleve_test.go
parent05143768d0948d3f5e24aa5b87b68ee2ae9a7e6f (diff)
downloadgitea-15ecc08475c49926b9d5f6fb4182578683f75d63.tar.gz
gitea-15ecc08475c49926b9d5f6fb4182578683f75d63.zip
fix bug when set indexer as db and add tests (#6173)
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 720266e3b5..8ec274566f 100644
--- a/modules/indexer/issues/bleve_test.go
+++ b/modules/indexer/issues/bleve_test.go
@@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
)
-func TestIndexAndSearch(t *testing.T) {
+func TestBleveIndexAndSearch(t *testing.T) {
dir := "./bleve.index"
indexer := NewBleveIndexer(dir)
defer os.RemoveAll(dir)