summaryrefslogtreecommitdiff
path: root/tests/test_format.py
diff options
context:
space:
mode:
authorAdam Greenhall <agreenhall@lyft.com>2015-09-12 01:14:44 -0700
committerVictor Uriarte <victor.m.uriarte@intel.com>2016-06-06 06:31:35 -0700
commit09de892c3b4e14d9b1a765d44e4824ec88e7e0eb (patch)
tree19060251314129084bd01f79d60ae786b37ae057 /tests/test_format.py
parentcccb3d866906bc6d701bad1793102e31c038b28e (diff)
downloadsqlparse-09de892c3b4e14d9b1a765d44e4824ec88e7e0eb.tar.gz
Fix/Test Limit statements
Diffstat (limited to 'tests/test_format.py')
-rw-r--r--tests/test_format.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_format.py b/tests/test_format.py
index 7bec955..9548dc3 100644
--- a/tests/test_format.py
+++ b/tests/test_format.py
@@ -119,6 +119,7 @@ class TestFormatReindentAligned(TestCaseBase):
where c is true
and b between 3 and 4
or d is 'blue'
+ limit 10
"""
self.ndiffAssertEqual(
self.formatter(sql),
@@ -135,6 +136,7 @@ class TestFormatReindentAligned(TestCaseBase):
' where c is true',
' and b between 3 and 4',
" or d is 'blue'",
+ ' limit 10',
]))
def test_case_statement(self):