Commits

Eric Larson committed 63d6d68

Added a comment regarding the implicit AND and whitespace.

Comments (0)

Files changed (1)

tests/test_parser.py

             ('x : y , a : b',),
             ('" x > y | x < z " , "a > b , a < c"',),
             ('x > y, a > b',),
+
+            # This fails but it might be nice if we returned:
+            #   {'x': 'y', 'a': 'b'}
+            # Since mongo uses AND implicitly
+            # ('x:y a:b',),
         ])
     def test_whitespace(self, query):
         """
     def test_map(self, query, expected):
         q = self.get_query(query)
         assert q.as_dict() == expected
-