summaryrefslogtreecommitdiffstats
path: root/tests/test_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_generator.py')
-rw-r--r--tests/test_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_generator.py b/tests/test_generator.py
index ec90646..a5945b2 100644
--- a/tests/test_generator.py
+++ b/tests/test_generator.py
@@ -32,7 +32,7 @@ class TestGenerator(unittest.TestCase):
self.assertEqual(
exp.DateTrunc(this=exp.to_column("event_date"), unit=exp.var("MONTH")).sql(),
- "DATE_TRUNC(MONTH, event_date)",
+ "DATE_TRUNC('MONTH', event_date)",
)
def test_identify(self):