Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Oct 19, 2023
1 parent 10d90ac commit 120f9b4
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 @@ -63,7 +63,7 @@ def _pretty(self, query: str):
def test_to_printed_hogql(self):
expr = parse_select("select 1 + 2, 3 from events")
repsponse = to_printed_hogql(expr, self.team.pk)
self.assertEqual(repsponse, "SELECT plus(1, 2), 3 FROM events LIMIT 10000")
self.assertEqual(repsponse, "SELECT\n plus(1, 2),\n 3\nFROM\n events\nLIMIT 10000")

def test_literals(self):
self.assertEqual(self._expr("1 + 2"), "plus(1, 2)")
Expand Down

0 comments on commit 120f9b4

Please sign in to comment.