Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Mar 28, 2024
1 parent e9b4a65 commit f81cd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/hogql/test/test_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ def test_trim_leading_trailing_both(self):
settings=HogQLGlobalSettings(max_execution_time=10),
)
assert printed == (
"SELECT trim(LEADING %(hogql_val_0)s FROM %(hogql_val_1)s), trim(TRAILING %(hogql_val_2)s FROM %(hogql_val_3)s), trim(BOTH %(hogql_val_4)s FROM %(hogql_val_5)s) LIMIT 10000 SETTINGS "
"SELECT trim(LEADING %(hogql_val_0)s FROM %(hogql_val_1)s), trim(TRAILING %(hogql_val_3)s FROM %(hogql_val_2)s), trim(BOTH %(hogql_val_5)s FROM %(hogql_val_4)s) LIMIT 10000 SETTINGS "
"readonly=2, max_execution_time=10, allow_experimental_object_type=1"
)
query2 = parse_select("select trimLeft('media', 'xy'), trimRight('media', 'xy'), trim('media', 'xy')")
Expand Down

0 comments on commit f81cd7f

Please sign in to comment.