From 92c4444142cd6b6bd8e6dbcf7f2bbc103619c05c Mon Sep 17 00:00:00 2001 From: filipecosta90 Date: Thu, 27 Aug 2020 23:18:17 +0100 Subject: [PATCH] [fix] Fixed tests internal method to retrieve module version --- redisearch/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redisearch/client_test.go b/redisearch/client_test.go index 88bc119..afab954 100644 --- a/redisearch/client_test.go +++ b/redisearch/client_test.go @@ -40,7 +40,7 @@ func (c *Client) getRediSearchVersion() (version int64, err error) { if err != nil { return } - if moduleName == "ft" { + if moduleName == "search" { version, err = redis.Int64(moduleInfo[3], err) } }