Skip to content

Commit

Permalink
fix: add cleanup for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Nov 9, 2024
1 parent 350d02e commit 421d917
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index_document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1669,6 +1669,7 @@ func TestIndex_UpdateDocumentsByFunction(t *testing.T) {
require.True(t, res.EditDocumentsByFunction)

idx := setupMovieIndex(t, c)
t.Cleanup(cleanup(c))

t.Run("Test Upper Case and Add Sparkles around Movie Titles", func(t *testing.T) {
task, err := idx.UpdateDocumentsByFunction(&UpdateDocumentByFunctionRequest{
Expand Down

0 comments on commit 421d917

Please sign in to comment.