diff options
Diffstat (limited to 'modules/indexer/issues/bleve_test.go')
-rw-r--r-- | modules/indexer/issues/bleve_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/indexer/issues/bleve_test.go b/modules/indexer/issues/bleve_test.go index 234da076cd..a8b6e8138b 100644 --- a/modules/indexer/issues/bleve_test.go +++ b/modules/indexer/issues/bleve_test.go @@ -6,9 +6,9 @@ package issues import ( "io/ioutil" - "os" "testing" + "code.gitea.io/gitea/modules/util" "github.com/stretchr/testify/assert" ) @@ -19,7 +19,7 @@ func TestBleveIndexAndSearch(t *testing.T) { assert.Fail(t, "Unable to create temporary directory") return } - defer os.RemoveAll(dir) + defer util.RemoveAll(dir) indexer := NewBleveIndexer(dir) defer indexer.Close() |