We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a5c54 commit d3fe0adCopy full SHA for d3fe0ad
tests/test_parser.py
@@ -94,6 +94,15 @@ def test_multiselect_with_all_quoted_keys(self):
94
result = parsed.search({'foo': {'bar': {'baz': 'CORRECT'}, 'qux': 'qux'}})
95
self.assertEqual(result, {"bar": "CORRECT", "qux": "qux"})
96
97
+ def test_function_call_with_and_statement(self):
98
+ self.assert_parsed_ast(
99
+ 'f(@ && @)',
100
+ {'children': [{'children': [{'children': [], 'type': 'current'},
101
+ {'children': [], 'type': 'current'}],
102
+ 'type': 'and_expression'}],
103
+ 'type': 'function_expression',
104
+ 'value': 'f'})
105
+
106
107
class TestErrorMessages(unittest.TestCase):
108
0 commit comments