Skip to content

Commit

Permalink
gofmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AvitalFineRedis committed Jul 19, 2021
1 parent 2eb060b commit 65badb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redisearch/redisearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,13 +449,13 @@ func TestFilter(t *testing.T) {
}

func TestReturnFields(t *testing.T) {
c := createClient("TestReturnFields")
version, _ := c.getRediSearchVersion()
if version < 20200 {
// IndexDefinition is available for RediSearch 2.0+
return
}

c := createClient("TestReturnFields")

// Create a schema
sc := NewSchema(DefaultOptions).
AddField(NewTextField("body")).
Expand Down

0 comments on commit 65badb8

Please sign in to comment.