summaryrefslogtreecommitdiff
path: root/test/sql/test_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_text.py')
-rw-r--r--test/sql/test_text.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sql/test_text.py b/test/sql/test_text.py
index 182c63624..e84a2907c 100644
--- a/test/sql/test_text.py
+++ b/test/sql/test_text.py
@@ -674,3 +674,8 @@ class OrderByLabelResolutionTest(fixtures.TestBase, AssertsCompiledSQL):
"SELECT foo(:foo_1) AS x UNION SELECT foo(:foo_2) AS y ORDER BY x"
)
+ def test_standalone_units_stringable(self):
+ self.assert_compile(
+ desc("somelabel"),
+ "somelabel DESC"
+ )