-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdae0df
commit 3a512ab
Showing
6 changed files
with
17 additions
and
45 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
ee/clickhouse/models/test/__snapshots__/test_property.ambr
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1515,8 +1515,16 @@ def test_events(db, team) -> List[UUID]: | |
event="$pageview", | ||
team=team, | ||
distinct_id="whatever", | ||
# new line character shouldn't be matched by a single regex dot | ||
properties={"email": "test@post\nhog.com"}, | ||
), | ||
_create_event( | ||
event="$pageview", | ||
team=team, | ||
distinct_id="whatever", | ||
# not a new line character - instead a single character - should match | ||
properties={"email": "[email protected]"}, | ||
), | ||
] | ||
|
||
|
||
|
@@ -1756,7 +1764,8 @@ def clean_up_materialised_columns(): | |
id="can match before date only values", | ||
), | ||
# Regression test, we were previously matching on newline characters | ||
pytest.param(Property(key="email", value=r"[email protected]", operator="regex"), []), | ||
# this should match one of two possibles (how are you supposed to figure out the expected index 🙈) | ||
pytest.param(Property(key="email", value=r"[email protected]", operator="regex"), [28]), | ||
] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters