You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/05/26 13:29:06 UTC

[GitHub] [couchdb] garrensmith commented on a change in pull request #3582: adds operators $sizeLte and $sizeGte

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:
users@infra.apache.org