Skip to content

Commit 6cb299c

Browse files
authored
Update query_test.go
1 parent c599263 commit 6cb299c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisearch/query_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func TestQuery_serialize(t *testing.T) {
113113
NumFragments: 3,
114114
Separator: "...",
115115
}}, redis.Args{raw, "LIMIT", 0, 0, "SUMMARIZE", "FIELDS", 1, "test_field", "LEN", 20, "FRAGS", 3, "SEPARATOR", "..."}},
116-
{"Params", fields{Raw: raw, Params: map[string]interface{}{"min": 1}}, redis.Args{raw, "LIMIT", 0, 0, "PARAMS", 4, "min", 1}},
116+
{"Params", fields{Raw: raw, Params: map[string]interface{}{"min": 1}}, redis.Args{raw, "LIMIT", 0, 0, "PARAMS", 2, "min", 1}},
117117
{"Dialect", fields{Raw: raw, Dialect: 2}, redis.Args{raw, "LIMIT", 0, 0, "DIALECT", 2}},
118118
}
119119
for _, tt := range tests {

0 commit comments

Comments
 (0)