summaryrefslogtreecommitdiffstats
path: root/tests/test_transpile.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/test_transpile.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_transpile.py b/tests/test_transpile.py
index 9253ded..3a7fea4 100644
--- a/tests/test_transpile.py
+++ b/tests/test_transpile.py
@@ -118,6 +118,11 @@ class TestTranspile(unittest.TestCase):
"SELECT x FROM foo /* x */",
)
self.validate(
+ """select x, --
+ from foo""",
+ "SELECT x FROM foo",
+ )
+ self.validate(
"""
-- comment 1
-- comment 2