garrensmith commented on a change in pull request #3582:
URL: https://github.com/apache/couchdb/pull/3582#discussion_r639726181
##########
File path: src/mango/test/03-operator-test.py
##########
@@ -75,6 +75,21 @@ def test_keymap_match(self):
docs = self.db.find({"foo": {"$keyMapMatch": {"$eq": "aa"}}})
self.assertEqual(len(docs), 1)
+ def test_size(self):
Review comment:
Could you add another test that shows it handles the case where the
`sizeGte` value is not an integer and another when it is acting on a field that
is not an array.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]