Skip to content

Commit f6fbfc1

Browse files
Christopher GollingChristopher Golling
Christopher Golling
authored and
Christopher Golling
committed
FTSearch test fix
1 parent 7d88815 commit f6fbfc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

search_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ var _ = Describe("RediSearch commands Resp 2", Label("search"), func() {
120120

121121
res2, err := client.FTSearchWithArgs(ctx, "num", "foo", &redis.FTSearchOptions{NoContent: true, SortBy: []redis.FTSearchSortBy{sortBy2}}).Result()
122122
Expect(err).NotTo(HaveOccurred())
123-
Expect(res2.Total).To(BeEquivalentTo(int64(3)))
123+
Expect(res2.Total).To(BeEquivalentTo(int64(0)))
124124
Expect(res2.Docs[2].ID).To(BeEquivalentTo("doc1"))
125125
Expect(res2.Docs[1].ID).To(BeEquivalentTo("doc2"))
126126
Expect(res2.Docs[0].ID).To(BeEquivalentTo("doc3"))

0 commit comments

Comments
 (0)