mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 16:58:37 +00:00
fix bug when set indexer as db and add tests (#6173)
This commit is contained in:
committed by
techknowlogick
parent
05143768d0
commit
15ecc08475
@@ -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)
|
||||
|
Reference in New Issue
Block a user