Skip to content

Commit

Permalink
fix(search): Added additional tests cases in test_query_cleanup_function
Browse files Browse the repository at this point in the history
  • Loading branch information
albertisfu committed Jan 1, 2025
1 parent 0671ec8 commit 4906599
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cl/search/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,10 @@ def test_query_cleanup_function(self) -> None:
'"this is a test" ~2 and "net neutrality" ~5 and 22cv3332',
'"this is a test"~2 and "net neutrality"~5 and docketNumber:"22-cv-3332"~1',
),
("§242", "§242"),
("$242", "$242"),
("%242", "%242"),
("¶242", "¶242"),
)
for q, a in q_a:
print("Does {q} --> {a} ? ".format(**{"q": q, "a": a}))
Expand Down

0 comments on commit 4906599

Please sign in to comment.