summaryrefslogtreecommitdiffstats
path: root/tests/test_transpile.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_transpile.py')
-rw-r--r--tests/test_transpile.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_transpile.py b/tests/test_transpile.py
index 22085b3..dea9985 100644
--- a/tests/test_transpile.py
+++ b/tests/test_transpile.py
@@ -551,6 +551,13 @@ FROM x""",
pretty=True,
)
+ self.validate(
+ """SELECT X FROM catalog.db.table WHERE Y
+ --
+ AND Z""",
+ """SELECT X FROM catalog.db.table WHERE Y AND Z""",
+ )
+
def test_types(self):
self.validate("INT 1", "CAST(1 AS INT)")
self.validate("VARCHAR 'x' y", "CAST('x' AS VARCHAR) AS y")