Skip to content

Commit

Permalink
remove test for ][ char check while grammar is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Aug 24, 2024
1 parent 3c8cb2c commit 2cf3f6a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/string_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ def create_indices(request):
"tolerate it",
DoesNotRaise(),
), # test query with no special operators
(
"-started -with mural ][]",
{'query': {'and': [{'not': {'or': [{'title': {'contains': 'started'}}, {'lyric': {'contains': 'started'}}]}}, {'not': {'or': [{'title': {'contains': 'with'}}, {'lyric': {'contains': 'with'}}]}}, {'or': [{'title': {'contains': 'mural'}}, {'lyric': {'contains': 'mural'}}]}]}, 'limit': 10},
0,
"",
DoesNotRaise(),
), # query with invalid punctuation, which should be ignored
(
"title:tolerate",
{"query": {"and": [{"title": {"contains": "tolerate"}}]}, "limit": 10},
Expand Down

0 comments on commit 2cf3f6a

Please sign in to comment.