From be3b2d73ef118fa5bbf1549e2f9a71baae709cea Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Fri, 24 Apr 2009 15:05:23 +0200 Subject: Handle wildcards in identifiers. --- tests/test_format.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/test_format.py') diff --git a/tests/test_format.py b/tests/test_format.py index 3180d10..4c2742d 100644 --- a/tests/test_format.py +++ b/tests/test_format.py @@ -134,6 +134,11 @@ class TestFormatReindent(TestCaseBase): 'from table1,', ' table2', 'where 1 = 2'])) + s = 'select a.*, b.id from a, b' + self.ndiffAssertEqual(f(s), '\n'.join(['select a.*,', + ' b.id', + 'from a,', + ' b'])) def test_case(self): f = lambda sql: sqlparse.format(sql, reindent=True) -- cgit v1.2.1