Skip to content

Commit 3a4eed6

Browse files
committed
docs: align test comment with implementation warning message
Update comment to use consistent terminology: 'Redis Search only supports single-field sorting' instead of 'Only the first field is actually used' for clarity and consistency with runtime warnings.
1 parent 42a277c commit 3a4eed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_multi_field_sorting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_sort_by_single_field_with_direction(self):
3030
def test_sort_by_multiple_fields_list_of_strings(self):
3131
"""Test multiple fields as list of strings (all ASC by default).
3232
33-
Note: Only the first field is actually used in Redis sorting.
33+
Note: Redis Search only supports single-field sorting. Only the first field is used.
3434
"""
3535
query = FilterQuery(sort_by=["price", "rating", "age"])
3636

0 commit comments

Comments
 (0)