garrensmith commented on a change in pull request #866: Fix incorrect index
selection when sort specified
URL: https://github.com/apache/couchdb/pull/866#discussion_r142938836
##########
File path: src/mango/test/02-basic-find-test.py
##########
@@ -222,6 +222,20 @@ def test_sort(self):
docs2 = list(reversed(sorted(docs1, key=lambda d: d["age"])))
assert docs1 is not docs2 and docs1 == docs2
+ def test_sort_desc_complex(self):
Review comment:
Could you add a test without the `manager: $exists: true` and make sure it
returns an error
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services