Skip to content

Commit

Permalink
test: search regex with anything at start and end should still match
Browse files Browse the repository at this point in the history
  • Loading branch information
sagivoululumigo committed Jan 11, 2024
1 parent 94a4ef5 commit 5a30dcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/unit/libs/test_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def test_does_endpoint_match_filtering_regexes(
("a", "b", False),
# Make sure that the regex is searched and not matched
("word", "search for one word in this sentence", True),
(".*word.*", "search for one word in this sentence", True),
(r"^word$", "search for one word in this sentence", False),
(
r"^search for one word in this sentence$",
Expand Down

0 comments on commit 5a30dcd

Please sign in to comment.