From 18dbc4d3aad10fa5d8fa206e7ba0d15dcf3fc52c Mon Sep 17 00:00:00 2001 From: Victor Uriarte Date: Tue, 7 Feb 2017 18:47:34 -0700 Subject: Update test with new behavior --- tests/test_regressions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_regressions.py b/tests/test_regressions.py index b9a73a2..cf88419 100644 --- a/tests/test_regressions.py +++ b/tests/test_regressions.py @@ -43,13 +43,14 @@ def test_issue34(value): def test_issue35(): - # missing space before LIMIT + # missing space before LIMIT. Updated for #321 sql = sqlparse.format("select * from foo where bar = 1 limit 1", reindent=True) assert sql == "\n".join([ "select *", "from foo", - "where bar = 1 limit 1"]) + "where bar = 1", + "limit 1"]) def test_issue38(): -- cgit v1.2.1